forked from nim-works/nimskull
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update artifact actions (nim-works#1063)
## Summary Update the artifact actions: * https://github.com/actions/download-artifact to version 4 (was 3) * https://github.com/actions/upload-artifact to version 4 (was 3) Both updates require changes to the CI workflow, namely that each release binary needs to use a separate name now. ## Details The new versions use version 2 of the [@actions/artifact](https://github.com/actions/toolkit/tree/main/packages/artifact) package, which doesn't support uploading to the same artifact more than once during a single workflow run. This is resolved by creating two "release binaries" and "binaries from source archives" artifacts (one for each target), with the platform name as the suffix. For retrieving them, the download action's new `pattern` and `merge-multiple` features are used. The `publisher` job is adjusted too.
- Loading branch information
Showing
5 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters