Added logger for custom env builds

This commit is contained in:
Nikhil Badyal
2022-08-13 20:30:12 +05:30
parent b7b452c4dc
commit e4d0a1082d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -31,11 +31,11 @@ jobs:
- name: Update Env for custom build
run: |
echo ${{ secrets.ENVS }} >> .env
echo "${{ secrets.ENVS }}" >> .env
- name: Build APK
run: |
cat .env
cat .env &&
docker-compose up
- name: Upload Build Artifact(youtube)
+1
View File
@@ -300,6 +300,7 @@ def main() -> None:
app_patches, version = patches.get(app=app)
if os.getenv(f"{app}_VERSION".upper()):
version = os.getenv(f"{app}_VERSION".upper())
logger.debug(f"Picked {app} version {version} from env.")
if app == "reddit" or app == "twitter":
downloader.apkmirror_reddit_twitter(app)
else: