Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Mar 3, 2024
1 parent 6924e2b commit 1aed9f9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,7 @@ jobs:
- name: Make branch name compatible with file names
id: file-branch-name
uses: mad9000/actions-find-and-replace-string@5
with:
source: ${{ github.head_ref }}
find: '/'
replace: '-'
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT

#
# Store generated files in a zip file in the workflow itself. This way outputs between two workflow runs can be compared,
Expand All @@ -122,7 +118,7 @@ jobs:
- name: Attach generated files to workflow run
uses: actions/upload-artifact@v4
with:
name: 'published-output__#${{ github.run_number }}__${{ steps.file-branch-name.outputs.value }}'
name: 'published-output__#${{ github.run_number }}__${{ steps.file-branch-name.outputs.branch }}'
path: ${{ env.DIFF_PUBLISH_DIR }}
if-no-files-found: error

Expand Down

0 comments on commit 1aed9f9

Please sign in to comment.