From c1921d90f34594f8f1fd103c8852eeb11498ba81 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 5 Nov 2023 16:59:39 -0700 Subject: fixed invalid characters in github artifact names This failed just a couple runs after adding CI, giving an error when someone had a slash in their pull request title: Error: Artifact name is not valid: build all-6/merge-4d210ad-8. Contains the following character: Forward slash / But the filename seems plenty unique even without the ${GITHUB_REF_NAME}, so I removed it. --- .github/workflows/compile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/compile.yml') diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index fabcf31..57d049c 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -38,7 +38,7 @@ jobs: - name: Compile All run: | ./make - echo "ARTIFACT_NAME=${GITHUB_WORKFLOW}-${GITHUB_REF_NAME}-$(git rev-parse --short ${GITHUB_SHA})-${GITHUB_RUN_NUMBER}" >> "${GITHUB_ENV}" + echo "ARTIFACT_NAME=${GITHUB_WORKFLOW}-$(git rev-parse --short ${GITHUB_SHA})-${GITHUB_RUN_NUMBER}" >> "${GITHUB_ENV}" - name: Store Artifacts uses: actions/upload-artifact@v3 -- cgit v1.2.3