From 307c39c2ae63b739188182273ed27a0ab4cebeed 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 | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48b77ec..752c82a 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: built_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: built_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: built_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: built_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: built_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: built_executable_win-x64 path: . - name: Unarchive zip run: unzip piping-server-pkg-win-x64.zip @@ -222,14 +222,11 @@ 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 + pattern: built_executable_* path: . + merge-multiple: true - run: | set -xeu mkdir ./publish_dir