From 7b023d909d697de131f56d472087bdaf050d91aa Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:12:04 -0600 Subject: [PATCH] Github Actions - Link Artifacts in PR comments; modify artifact-name --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e82af1237..cf9fdb5dc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,11 +90,7 @@ jobs: - name: set artifact name id: set_artifactname run: | - if [[ "${{ github.REPOSITORY }}" == "emuflight/EmuFlight" ]] ; then - ARTIFACT_NAME="EmuFlight-${{ env.VERSION }}-${{ github.run_number }}" - else - ARTIFACT_NAME="EmuFlight-${{ env.VERSION }}-${{ github.ACTOR }}-${{ github.run_number }}" - fi + ARTIFACT_NAME="EmuFlight-${{ env.VERSION }}-${{ github.run_number }}-${{ env.SHORT_SHA }}" echo "${ARTIFACT_NAME}" echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV