Skip to content
Python

Merge pull request #2 from DerMilderJoghurt/dependabot/github_actions/actions-2d63aa34b8

DerMilderJoghurt0a25cb9e9267
diff --cc .github/workflows/docker.yml
index b190a5a,e699258..ce410b1
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@@ -99,28 -99,15 +99,28 @@@ jobs
ignore-unfixed: true
skip-setup-trivy: true
+ # Android app (android/), see android.yml. The release job attaches the APK.
+ android:
+ if: github.ref == 'refs/heads/main'
+ uses: ./.github/workflows/android.yml
+ secrets: inherit
+
# On a new version in app/VERSION, automatically creates tag vX.Y.Z and a GitHub release
- # (text from the matching CHANGELOG section, ZIP of the repo attached).
+ # (text from the matching CHANGELOG section, ZIP of the repo and the signed Android APK attached).
release:
- needs: build
- if: github.ref == 'refs/heads/main'
+ needs: [build, android]
+ if: ${{ !cancelled() && needs.build.result == 'success' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v7
+ - name: Get the Android APK
+ uses: actions/download-artifact@v4
+ continue-on-error: true
+ with:
+ name: mirrorsync-apk
+ path: apk
+
- name: Create release or update its text
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}