From adb71257ff2743a18776aac17bc6a3605d46f6d4 Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Wed, 6 Dec 2023 16:29:34 +0100 Subject: [PATCH] build naming fixed,nope --- .gitea/workflows/build-appimage.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build-appimage.yaml b/.gitea/workflows/build-appimage.yaml index a6bcea9..5993361 100644 --- a/.gitea/workflows/build-appimage.yaml +++ b/.gitea/workflows/build-appimage.yaml @@ -19,8 +19,8 @@ jobs: - name: Declare some variables shell: bash run: | - echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $env:GITEA_ENV - echo "YEAR=$(date +%Y)" >> $env:GITEA_ENV + echo "SHA_SHORT=$(git rev-parse --short HEAD)" + echo "YEAR=$(date +%Y)" >> "$GITEA_ENV" - name: Build AppImage run: | echo $GO_PIPELINE_LABEL @@ -31,11 +31,11 @@ jobs: env: GPG_KEYGRIP: ${{ vars.GPG_KEYGRIP }} GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }} + GO_PIPELINE_LABEL: ${{ gitea.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }} - name: Upload AppImage run: ./tools/upload_gitea.sh env: - GO_PIPELINE_LABEL: ${{ env.YEAR }}.${{ gitea.run_number }}_${{ env.SHA_SHORT }} + GO_PIPELINE_LABEL: ${{ gitea.YEAR }}.${{ gitea.run_number }}_${{ gitea.SHA_SHORT }} UPLOAD_TOKEN: ${{ secrets.GITEA_TOKEN }} UPLOAD_USER: ${{ vars.GITEA_USER }} - run: echo "🍏 This job's status is ${{ job.status }}."