From f85715d24e87fdab031f0cabf54c97f2dbbf0a9a Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Mon, 8 Jan 2024 19:08:07 +0900 Subject: [PATCH] chore: use actions/*-artifact@v4 --- .github/workflows/ci.yml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48b77ec..bd36e9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,9 @@ jobs: else tar czvf piping-server-pkg-${{ matrix.pkg_target_without_node }}.tar.gz ./piping-server-pkg-${{ matrix.pkg_target_without_node }} fi - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: build_x64 + name: build_executable_${{ matrix.pkg_target_without_node }} path: | piping-server-pkg-*.tar.gz piping-server-pkg-*.zip @@ -82,9 +82,9 @@ jobs: else tar czvf piping-server-pkg-${{ matrix.pkg_target_without_node }}.tar.gz ./piping-server-pkg-${{ matrix.pkg_target_without_node }} fi - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: build_arm + name: build_executable_${{ matrix.pkg_target_without_node }} path: | piping-server-pkg-*.tar.gz piping-server-pkg-*.zip @@ -93,9 +93,9 @@ jobs: runs-on: ubuntu-20.04 needs: build_x64_executables steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: build_x64 + name: build_executable_linuxstatic-x64 path: . - name: Unarchive tar.gz run: tar xvf piping-server-pkg-linuxstatic-x64.tar.gz @@ -116,9 +116,9 @@ jobs: runs-on: ubuntu-20.04 needs: build_x64_executables steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: build_x64 + name: build_executable_alpine-x64 path: . - name: Unarchive tar.gz run: tar xvf piping-server-pkg-alpine-x64.tar.gz @@ -145,9 +145,9 @@ jobs: runs-on: macos-11 needs: build_x64_executables steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: build_x64 + name: build_executable_mac-x64 path: . - name: Unarchive tar.gz run: tar xvf piping-server-pkg-mac-x64.tar.gz @@ -168,9 +168,9 @@ jobs: runs-on: windows-2019 needs: build_x64_executables steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: build_x64 + name: build_executable_win-x64 path: . - name: Unarchive zip run: unzip piping-server-pkg-win-x64.zip @@ -222,13 +222,9 @@ jobs: - build_arm_executables runs-on: ubuntu-20.04 steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: build_x64 - path: . - - uses: actions/download-artifact@v3 - with: - name: build_arm + name: build_executable_* path: . - run: | set -xeu