From 223ddd4cda5d6f8562068d202427f46ee798320e Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 15:28:26 +0100 Subject: [PATCH] condensed build steps in workflow --- .gitea/workflows/build-appimage.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/build-appimage.yaml b/.gitea/workflows/build-appimage.yaml index 1887594..45d41e8 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -16,19 +16,16 @@ jobs: - run: | apt-get -y update apt-get -y install python3-yaml python3-requests - - name: Update version info - run: ./tools/update_version.py - env: - GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} - - name: Prepare GPG + - name: Build AppImage run: | eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200) /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP} + ./tools/update_version.py + ./tools/build.sh env: GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - - name: Build AppImage - run: ./tools/build.sh + GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} - name: Upload AppImage run: | ls