forked from IPKM/nmreval
using vars instead of env context for variables
This commit is contained in:
parent
340bba747a
commit
962802ebe4
@ -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 }}."
|
||||
|
Loading…
Reference in New Issue
Block a user