1
0
forked from IPKM/nmreval

fixed build nameing

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: | - run: |
apt-get -y update apt-get -y update
apt-get -y install python3-yaml python3-requests 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 - name: Build AppImage
run: | run: |
eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200) eval $(gpg-agent --daemon --allow-preset-passphrase --default-cache-ttl 1 --max-cache-ttl 7200)
@ -25,13 +30,11 @@ jobs:
env: env:
GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }} GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} 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 - name: Upload AppImage
run: | run: ./tools/upload_gitea.sh
ls
./tools/upload_gitea.sh
env: env:
GO_PIPELINE_LABEL: ${{ gitea.event.repository.updated_at}}_${{ gitea.sha }} GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }}
UPLOAD_TOKEN: ${{ vars.GITEA_TOKEN }} UPLOAD_TOKEN: ${{ secrets.GITEA_TOKEN }}
UPLOAD_USER: ${{ vars.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 }}."