Skip to content

Commit

Permalink
Fix build.yml depends. Remove android build on push.
Browse files Browse the repository at this point in the history
  • Loading branch information
phnzb committed Jul 16, 2024
1 parent d8a9b2b commit 71546ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: android build
on:
workflow_call:
workflow_dispatch:
push:
branches:
- feature/*

jobs:
build:
Expand Down Expand Up @@ -35,7 +32,7 @@ jobs:
if: github.ref_name != 'main' && github.ref_name != 'develop'
run: |
cd build
SUFFIX="-${GITHUB_REF_NAME/\//-}-bin-linux.run"
SUFFIX="-${GITHUB_REF_NAME/\//-}-bin-android.run"
for FILE in *.run; do
[ -f $FILE ] || continue
NEW_FILE=${FILE/-bin-android.run/$SUFFIX}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
runs-on: ubuntu-latest
needs: [build-windows, build-linux, build-osx, repack-qnap, build-linux-pkg]
needs: [build-windows, build-linux, build-osx, build-android, repack-qnap, build-linux-pkg]
permissions:
actions: write
steps:
Expand Down

0 comments on commit 71546ca

Please sign in to comment.