using vars instead of env context for variables
Some checks failed
Build AppImage / Explore-Gitea-Actions (push) Failing after 11s

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 }} GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
- name: Prepare GPG - name: Prepare GPG
run: | run: |
env
/usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP} /usr/lib/gnupg/gpg-preset-passphrase --preset --passphrase ${GPG_PASSPHRASE} ${GPG_KEYGRIP}
env: env:
GPG_KEYGRIP: ${{ env.GPG_KEYGRIP }} GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
#GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Build AppImage - name: Build AppImage
run: ./tools/build.sh run: ./tools/build.sh
- name: Upload AppImage - name: Upload AppImage
run: ./tools/upload_gitea.sh run: ./tools/upload_gitea.sh
env: env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
UPLOAD_TOKEN: ${{ env.GITEA_TOKEN }} UPLOAD_TOKEN: ${{ vars.GITEA_TOKEN }}
UPLOAD_USER: ${{ env.GITEA_USER }} UPLOAD_USER: ${{ vars.GITEA_USER }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."