From afe4fe924f7b3565235a270d1415b4fac842aa87 Mon Sep 17 00:00:00 2001 From: Up Date: Tue, 26 Mar 2024 17:21:06 +0100 Subject: [PATCH] fix invalid artifact names on pull requests --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1699481786e..52123c26d88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,8 +7,6 @@ on: jobs: build: runs-on: ubuntu-latest - outputs: - artifact_name: "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}" steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -24,7 +22,7 @@ jobs: id: upload-artifact uses: actions/upload-artifact@v4 with: - name: "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}" + name: "${{ github.event.repository.name }}-${{ github.sha }}" path: dist - name: Trigger Deployment # only run on the main branch @@ -37,5 +35,5 @@ jobs: "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "artifact-url": "${{ steps.upload-artifact.outputs.artifact-url }}", - "artifact-name": "${{ github.event.repository.name }}-${{ github.ref_name }}-${{ github.sha }}" + "artifact-name": "${{ github.event.repository.name }}-${{ github.sha }}" }