Skip to content

Commit

Permalink
Github Actions - Link Artifacts in PR comments; modify artifact-name
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Feb 26, 2024
1 parent fe9a97e commit 7b023d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b023d9

Please sign in to comment.