Skip to content

Commit 8db755b

Browse files
authored
Update actions/download-artifact and actions/upload-artifact to v4 (#56)
1 parent 8069750 commit 8db755b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
run: poetry build
6666

6767
- name: Upload the built files as an artifact
68-
uses: actions/upload-artifact@v3
68+
uses: actions/upload-artifact@v4
6969
if: ${{ ! startsWith(github.ref, 'refs/tags/v') }}
7070
with:
7171
path: dist
7272
name: transformers_js_py-${{ github.sha }}.tgz
7373

7474
- name: Upload the built files as an artifact (when pushed with a version tag)
75-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7676
if: startsWith(github.ref, 'refs/tags/v')
7777
with:
7878
path: dist
@@ -104,7 +104,7 @@ jobs:
104104
- name: Update PATH
105105
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
106106

107-
- uses: actions/download-artifact@v3
107+
- uses: actions/download-artifact@v4
108108
with:
109109
name: transformers_js_py-${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || github.sha }}.tgz
110110
path: dist
@@ -148,7 +148,7 @@ jobs:
148148
- name: Update PATH
149149
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
150150

151-
- uses: actions/download-artifact@v3
151+
- uses: actions/download-artifact@v4
152152
with:
153153
name: transformers_js_py-${{ github.ref_name }}.tgz
154154
path: dist

0 commit comments

Comments
 (0)