Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolnsX authored May 22, 2024
1 parent 59e1dba commit cb05d28
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ jobs:

- name: Check for APK files
id: check_apks
run: ls yt-*.apk 1> /dev/null 2>&1 && echo "apks_exist=true" >> "$GITHUB_OUTPUT" || echo "apks_exist=false" >> "$GITHUB_OUTPUT"
run: |
if ls *.apk 1> /dev/null 2>&1;then
echo "apks_exist='true'" >> "$GITHUB_OUTPUT"
else
echo "apks_exist='false'" >> "$GITHUB_OUTPUT"
fi
- name: Upload binaries to release
if: steps.check_apks.outputs.apks_exist == true
if: $ {{ steps.check_apks.outputs.apks_exist }} == 'true'
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit cb05d28

Please sign in to comment.