Skip to content

Commit 1108134

Browse files
authored
Sanitize branch name in artifact upload step
1 parent eb0e629 commit 1108134

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-uv-binary-switching.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
if: always()
172172
uses: actions/upload-artifact@v4
173173
with:
174-
name: omnipkg-uv-demo-output-${{ github.event.inputs.branch || github.ref_name }}
174+
name: omnipkg-uv-demo-output-${{ github.event.inputs.branch || github.ref_name | replace('/', '-') | replace('\\', '-') | replace(':', '-') | replace('*', '-') | replace('?', '-') | replace('"', '-') | replace('<', '-') | replace('>', '-') | replace('|', '-') | replace('\r', '-') | replace('\n', '-') }}
175175
path: /tmp/omnipkg-artifacts/
176176
retention-days: 7
177177
compression-level: 6

0 commit comments

Comments
 (0)