From e4dff3c5d4e004de6a399cdbea2be85279255805 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Tue, 29 Aug 2023 17:33:16 -0700 Subject: [PATCH] Nightly build to use latest Lingua Franca (#42) --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5865f76..9dc5396 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,15 +58,14 @@ jobs: uses: lf-lang/lingua-franca/.github/actions/setup-francabot@francabot with: gpg-key: ${{ secrets.gpg-key }} - gpg-passphrase: ${{ secrets.gpg-key }} + gpg-passphrase: ${{ secrets.gpg-passphrase }} if: ${{ inputs.lingua-franca-ref != '' && inputs.nightly == true }} - - name: Commit to the `nightly` branch + - name: Commit to the `latest` branch run: | - export GPG_TTY=$(tty) - git status --porcelain | grep . && git commit -a -m 'Update lingua-franca submodule' - git push -f origin/nightly - git switch nightly - git pull + git switch latest || git checkout -b latest + git add org.lflang/lingua-franca + git status --porcelain | grep . && git commit -m 'Update lingua-franca submodule' + git push -f --set-upstream origin latest shell: bash if: ${{ inputs.lingua-franca-ref != '' && inputs.nightly == true }} - name: Build and package epoch