-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci/cd: centralize and bump artifact uploads
- Upgrade `actions/upload-artifact` to `v4` to address deprecation warnings related to Node.js 16, improving compatibility with GitHub runners. This resolves the following warning from the runners: > Node.js 16 actions are deprecated. Please update the following actions > to use Node.js 20: actions/upload-artifact@v3. - Centralize the use of the `upload-artifact` action through a new custom action, improving maintainability and consistency across workflows.
- Loading branch information
1 parent
795b7f0
commit 22d6c79
Showing
3 changed files
with
18 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
inputs: | ||
name: | ||
required: true | ||
path: | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- | ||
name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.name }} | ||
path: ${{ inputs.path }} |
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