From 74ec33c9ae7867215c0d782d319a227b74d8ffcb Mon Sep 17 00:00:00 2001 From: IsakN Date: Fri, 23 Jul 2021 14:54:08 +0200 Subject: [PATCH] Use sha instead of git describe in test build names Fixes #78 --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ccdb40..d762661 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,7 @@ jobs: - name: Upload build uses: actions/upload-artifact@v2 with: - name: NeoMori_${{ env.GIT_DESCRIBE }}_${{ matrix.platform }} + name: NeoMori_${{ github.sha }}_${{ matrix.platform }} path: ${{ github.workspace }}/build/* - name: Create override.cfg @@ -57,5 +57,5 @@ jobs: if: ${{ env.GIT_DESCRIBE != '' }} uses: actions/upload-artifact@v2 with: - name: NeoMori_${{ env.GIT_DESCRIBE }}_${{ matrix.platform }} + name: NeoMori_${{ github.sha }}_${{ matrix.platform }} path: ${{ github.workspace }}/override.cfg diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6526178..f79dc84 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: workflow_conclusion: success commit: ${{ github.sha }} event: push - name: ${{ matrix.platform }} + name: NeoMori_${{ github.sha }}_${{ matrix.platform }} path: NeoMori - name: Update global/version in override.cfg