From 4c57670aa4148d23367bca65ab20f6fc6e6882ed Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 16 Jul 2023 16:24:45 +0200 Subject: [PATCH] Fix ensuring the release branch in workflow --- .github/workflows/build-app.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index 9938c204..3945c8c5 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -48,6 +48,10 @@ jobs: runs-on: ubuntu-latest container: ghcr.io/syncthing/syncthing-android-builder steps: + - uses: actions/checkout@v3 + with: + submodules: true + - name: Ensure release branch run: | if ! git branch --contains $(git rev-parse HEAD) | grep release >/dev/null; then @@ -55,10 +59,6 @@ jobs: exit 1 fi - - uses: actions/checkout@v3 - with: - submodules: true - - name: build_release env: SYNCTHING_RELEASE_KEY_ALIAS: android