👷 Use Local compose (#319)

This commit is contained in:
Nikhil Badyal
2023-08-26 13:09:33 +05:30
committed by GitHub
parent e307032582
commit 048f1affd8
2 changed files with 8 additions and 1 deletions
+6 -1
View File
@@ -11,6 +11,10 @@ on:
REDDIT_CLIENT_ID:
required: false
inputs:
CI_TEST:
required: false
type: boolean
default: false
COMMIT_CHANGELOG:
type: boolean
required: false
@@ -73,10 +77,11 @@ jobs:
- name: Build Revanced APKs
run: |
if [ -n "CI_TEST" ]; then
if [[ "${{ inputs.CI_TEST }}" =~ ^(true|True|1)$ ]]; then
echo "In CI Testing. Using local compose file."
docker-compose -f docker-compose-local.yml up --build
else
echo "Using Prod compose file."
docker-compose up --build
fi
- name: Upload Build APKS