Skip to content

Commit 3cafbbb

Browse files
committed
bump artifact package
1 parent 3ea1d70 commit 3cafbbb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/check-npm-dependencies-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
# Some might find it convenient to have CI generate the cache rather than setting up for it locally
103103
- name: Upload cache to workflow artifact
104104
if: failure() && steps.diff.outcome == 'failure'
105-
uses: actions/upload-artifact@v3
105+
uses: actions/upload-artifact@v4
106106
with:
107107
if-no-files-found: error
108108
include-hidden-files: true

.github/workflows/sync-labels-npm.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
# See: https://github.com/actions/setup-node/#readme
66
NODE_VERSION: 20.x
77
CONFIGURATIONS_FOLDER: .github/label-configuration-files
8-
CONFIGURATIONS_ARTIFACT: label-configuration-files
8+
CONFIGURATIONS_ARTIFACT_PREFIX: label-configuration-file-
99

1010
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
1111
on:
@@ -80,13 +80,13 @@ jobs:
8080
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
8181

8282
- name: Pass configuration files to next job via workflow artifact
83-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8484
with:
8585
path: |
8686
*.yaml
8787
*.yml
8888
if-no-files-found: error
89-
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
89+
name: ${{ env.CONFIGURATIONS_ARTIFACT_PREFIX }}${{ matrix.filename }}
9090

9191
sync:
9292
needs: download
@@ -117,16 +117,16 @@ jobs:
117117
- name: Checkout repository
118118
uses: actions/checkout@v4
119119

120-
- name: Download configuration files artifact
121-
uses: actions/download-artifact@v3
120+
- name: Download configuration files artifacts
121+
uses: actions/download-artifact@v4
122122
with:
123-
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
123+
name: ${{ env.CONFIGURATIONS_ARTIFACT_PREFIX }}*
124124
path: ${{ env.CONFIGURATIONS_FOLDER }}
125125

126-
- name: Remove unneeded artifact
126+
- name: Remove unneeded artifacts
127127
uses: geekyeggo/delete-artifact@v1
128128
with:
129-
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
129+
name: ${{ env.CONFIGURATIONS_ARTIFACT_PREFIX }}*
130130

131131
- name: Setup Node.js
132132
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)