Filter to be patched (#505)

This commit is contained in:
Nikhil Badyal
2024-04-17 22:29:58 +05:30
committed by GitHub
parent e740cbb07a
commit cc59bc9347
3 changed files with 13 additions and 9 deletions
+3 -6
View File
@@ -50,11 +50,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
should_build=$(python check_resource_updates.py)
if [ "$should_build" = "True" ]; then
echo "SHOULD_BUILD=1" >> $GITHUB_OUTPUT
else
echo "SHOULD_BUILD=0" >> $GITHUB_OUTPUT
fi
echo "SHOULD_BUILD=$should_build" >> $GITHUB_OUTPUT
outputs:
SHOULD_BUILD: ${{ steps.should_build.outputs.SHOULD_BUILD }}
@@ -62,7 +58,7 @@ jobs:
permissions: write-all
needs: release-check
uses: ./.github/workflows/build-apk.yml
if: ${{ needs.release-check.outputs.SHOULD_BUILD == 1 }}
if: ${{ needs.release-check.outputs.SHOULD_BUILD }}
secrets: inherit
concurrency:
group: Auto-Release-${{ github.head_ref || github.run_id }}
@@ -70,3 +66,4 @@ jobs:
with:
TELEGRAM_NO_ROOT_UPLOAD: true
TELEGRAM_ROOT_UPLOAD: true
PREFERRED_PATCH_APPS: ${{ needs.release-check.outputs.SHOULD_BUILD }}