Skip to content

Commit

Permalink
CI: fix invalid name for artifact
Browse files Browse the repository at this point in the history
Namely:
```
Error: The artifact name is not valid: archives-linux/amd64-x86_64. Contains the following character:  Forward slash /

Invalid characters include:  Double quote ", Colon :, Less than <, Greater than >, Vertical bar |, Asterisk *, Question mark ?, Carriage return \r, Line feed \n, Backslash \, Forward slash /

These characters are not allowed in the artifact name due to limitations with
certain file systems such as NTFS. To maintain file system agnostic behavior,
these characters are intentionally not allowed to prevent potential problems
with downloads on different file systems.
```
  • Loading branch information
panglesd committed Sep 12, 2024
1 parent cd98180 commit bc2b4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
# if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: archives-${{ matrix.platform.name }}-${{ matrix.platform.target_arch }}
name: archives-${{ matrix.platform.name }}-${{ matrix.platform.filename_suffix }}
path: new_release/*

mac-build:
Expand Down

0 comments on commit bc2b4b2

Please sign in to comment.