Skip to content

Commit

Permalink
chore: use actions/*-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
nwtgck committed Jan 8, 2024
1 parent a06953a commit f85715d
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f85715d

Please sign in to comment.