From 962802ebe454fb6cff1f84a4d604a55a0e2255b5 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 14:47:16 +0100 Subject: [PATCH] using vars instead of env context for variables --- .gitea/workflows/build-appimage.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-appimage.yaml b/.gitea/workflows/build-appimage.yaml index 9dffa8f..4307964 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -22,17 +22,16 @@ jobs: GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} - name: Prepare GPG run: | - env /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP} env: - GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }} - #GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Build AppImage run: ./tools/build.sh - 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 }} + UPLOAD_TOKEN: ${{ vars.GITEA_TOKEN }} + UPLOAD_USER: ${{ vars.GITEA_USER }} - run: echo "🍏 This job's status is ${{ job.status }}."