1
0
forked from IPKM/nmreval

using vars instead of env context for variables

This commit is contained in:
Markus Rosenstihl 2023-12-06 14:47:16 +01:00
parent 340bba747a
commit 962802ebe4

View File

@ -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 }}."