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:
parent
5e3b28e6dc
commit
4c57670aa4
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build-app.yaml
vendored
8
.github/workflows/build-app.yaml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue