Skip to content

Commit

Permalink
fix(deps): bump actions/download/upload-artifact from 3 to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Dec 23, 2023
1 parent deb33e7 commit 75eba09
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: "Share: maven-build-artifacts"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven-build-artifacts
path: |
Expand Down Expand Up @@ -366,7 +366,7 @@ jobs:
- name: "Get: maven-build-artifacts"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-build-artifacts

Expand Down Expand Up @@ -526,16 +526,18 @@ jobs:
- name: "Share: native binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.arch != 'windows-amd64'
with:
name: binaries-${{ matrix.arch }}
path: copycat-${{ matrix.arch }}


- name: "Share: native binary"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.arch == 'windows-amd64'
with:
name: binaries-${{ matrix.arch }}
path: |
copycat-${{ matrix.arch }}.exe
copycat-${{ matrix.arch }}-uncompressed.exe
Expand All @@ -556,7 +558,10 @@ jobs:


- name: "Get: all build artifacts"
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true


- name: "Delete previous '${{ env.RELEASE_NAME }}' release"
Expand All @@ -577,13 +582,13 @@ jobs:
--latest \
--notes "${{ github.event.head_commit.message }}" \
--target "${{ github.sha }}" \
maven-build-artifacts/copycat-fat.jar#copycat-${{ env.RELEASE_NAME }}-fat.jar \
maven-build-artifacts/bash/bashcompletion.sh#copycat-${{ env.RELEASE_NAME }}-bashcompletion.sh \
artifact/copycat-linux-amd64#copycat-${{ env.RELEASE_NAME }}-linux-amd64 \
artifact/copycat-linux-arm64#copycat-${{ env.RELEASE_NAME }}-linux-arm64 \
artifact/copycat-darwin-amd64#copycat-${{ env.RELEASE_NAME }}-darwin-amd64 \
artifact/copycat-windows-amd64.exe#copycat-${{ env.RELEASE_NAME }}-windows-amd64.exe \
artifact/copycat-windows-amd64-uncompressed.exe#copycat-${{ env.RELEASE_NAME }}-windows-amd64-uncompressed.exe
artifacts/copycat-fat.jar#copycat-${{ env.RELEASE_NAME }}-fat.jar \
artifacts/bash/bashcompletion.sh#copycat-${{ env.RELEASE_NAME }}-bashcompletion.sh \
artifacts/copycat-linux-amd64#copycat-${{ env.RELEASE_NAME }}-linux-amd64 \
artifacts/copycat-linux-arm64#copycat-${{ env.RELEASE_NAME }}-linux-arm64 \
artifacts/copycat-darwin-amd64#copycat-${{ env.RELEASE_NAME }}-darwin-amd64 \
artifacts/copycat-windows-amd64.exe#copycat-${{ env.RELEASE_NAME }}-windows-amd64.exe \
artifacts/copycat-windows-amd64-uncompressed.exe#copycat-${{ env.RELEASE_NAME }}-windows-amd64-uncompressed.exe
- name: "Delete intermediate build artifacts"
Expand Down

0 comments on commit 75eba09

Please sign in to comment.