From 98c9354883c633c993acb09ff87772ff9bc80017 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 14:29:36 +0100 Subject: [PATCH] added GO_PIPELINE_LABEL to workflow --- .gitea/workflows/build-appimage.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build-appimage.yaml b/.gitea/workflows/build-appimage.yaml index 385374c..349740d 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -13,18 +13,24 @@ jobs: uses: actions/checkout@v3 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - run: | + 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 run: /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP} - name: Build AppImage run: ./tools/build.sh env: + GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }} - name: Upload AppImage run: ./tools/upload_gitea.sh env: + GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} UPLOAD_TOKEN: ${{ env.GITEA_TOKEN }} UPLOAD_USER: ${{ env.GITEA_USER }} - run: echo "🍏 This job's status is ${{ job.status }}."