fixed build nameing
Some checks failed
Build AppImage / Explore-Gitea-Actions (push) Failing after 11s

This commit is contained in:
Markus Rosenstihl 2023-12-06 15:45:19 +01:00
parent 223ddd4cda
commit bd9288d20e

View File

@ -16,6 +16,11 @@ jobs:
- run: |
apt-get -y update
apt-get -y install python3-yaml python3-requests
- name: Declare some variables
shell: bash
run: |
echo "SHA_SHORT=$(git rev-parse --short "$GITEA_SHA")" >> "$GITEA_ENV"
echo "YEAR=$(date +%Y) >> "$GITEA_ENV"
- name: Build AppImage
run: |
eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200)
@ -25,13 +30,11 @@ jobs:
env:
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}
- name: Upload AppImage
run: |
ls
./tools/upload_gitea.sh
run: ./tools/upload_gitea.sh
env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }}
UPLOAD_TOKEN: ${{ vars.GITEA_TOKEN }}
GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}
UPLOAD_TOKEN: ${{ secrets.GITEA_TOKEN }}
UPLOAD_USER: ${{ vars.GITEA_USER }}
- run: echo "🍏 This job's status is ${{ job.status }}."