Skip to content

Commit

Permalink
use ref_name to avoid slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Mar 20, 2024
1 parent 4762786 commit 029ee5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
id: publish_artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.NAME }}_${{ env.VERSION }}_${{ matrix.os }}_py${{ matrix.python-version }}_${{ github.ref }}_${{ github.sha }}
name: ${{ env.NAME }}_${{ env.VERSION }}_${{ matrix.os }}_py${{ matrix.python-version }}_${{ github.ref_name }}_${{ github.sha }}
path: build/

- name: Populate the successful output (Windows)
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
description: |
[Job #${{ github.run_number }}](${{ env.RUN_URL }}): CI build `${{ github.sha }}` initiated by [${{ github.actor }}](${{ env.AUTHOR_URL }}):
● Commit [${{ github.sha }}](${{ env.COMMIT_URL }})
● Branch [`${{ github.ref }}`](${{ env.BRANCH_URL }})
● Branch [`${{ github.ref_name }}`](${{ env.BRANCH_URL }})
● [Detail Page](${{ env.RUN_URL }})
${{ needs.build.outputs.windows-latest-3-10 }}
Expand Down

0 comments on commit 029ee5a

Please sign in to comment.