1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-03 16:51:32 +00:00

Fix ensuring the release branch in workflow

This commit is contained in:
Simon Frei 2023-07-16 16:24:45 +02:00
parent 5e3b28e6dc
commit 4c57670aa4

View file

@ -48,6 +48,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/syncthing/syncthing-android-builder container: ghcr.io/syncthing/syncthing-android-builder
steps: steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Ensure release branch - name: Ensure release branch
run: | run: |
if ! git branch --contains $(git rev-parse HEAD) | grep release >/dev/null; then if ! git branch --contains $(git rev-parse HEAD) | grep release >/dev/null; then
@ -55,10 +59,6 @@ jobs:
exit 1 exit 1
fi fi
- uses: actions/checkout@v3
with:
submodules: true
- name: build_release - name: build_release
env: env:
SYNCTHING_RELEASE_KEY_ALIAS: android SYNCTHING_RELEASE_KEY_ALIAS: android