diff --git a/.gitea/workflows/appimage.yml b/.gitea/workflows/appimage.yml index ede4a7d..01b5547 100644 --- a/.gitea/workflows/appimage.yml +++ b/.gitea/workflows/appimage.yml @@ -60,6 +60,13 @@ jobs: echo "already built"; echo "SKIP=1" >> "$GITHUB_ENV" fi + - name: Check out the mirror at the tag + if: env.SKIP != '1' + run: | + set -euo pipefail + git clone --depth 1 --branch "${{ env.TAG }}" \ + "${{ gitea.server_url }}/${{ env.MIRROR }}.git" src + - name: Install the script and build the web app if: env.SKIP != '1' working-directory: src