From 96f9a83525dc3c4bb8facb5f02091fb2ed93005d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Sep 2024 18:55:12 +0900 Subject: [PATCH] CI: Update upload-artifact and download-artifact 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/ ``` --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7aa6cc65..bb357c96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -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 @@ -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 @@ -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