Skip to content

Commit

Permalink
CI: Update upload-artifact and download-artifact
Browse files Browse the repository at this point in the history
Fixes the following error:
```
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
```
  • Loading branch information
yamt committed Sep 13, 2024
1 parent be6bc29 commit 96f9a83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
run: cmake --install build --prefix instdir --config Release --strip || true

- name: Upload wasm4 artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
path: runtimes/native/instdir/${{ matrix.config.wasm4 }}
name: wasm4-${{ matrix.config.artifact }}

- name: Upload libretro artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
path: runtimes/native/instdir/${{ matrix.config.libretro }}
name: wasm4-libretro-${{ matrix.config.artifact }}
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
cp -r ../runtimes/web/dist assets/runtime
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.8
with:
path: artifacts

Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
--mac /tmp/test-w4/cart-mac \
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
path: cli-build
name: w4
Expand All @@ -140,7 +140,7 @@ jobs:
submodules: true

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.8
with:
path: artifacts
name: w4
Expand Down

0 comments on commit 96f9a83

Please sign in to comment.