Skip to content

Commit

Permalink
github: bump artifact actions version
Browse files Browse the repository at this point in the history
Retrigger checks

Update .github/workflows/build.yml

Co-authored-by: Mario Minardi <mminardi@shaw.ca>

Update .github/workflows/build.yml

Co-authored-by: Mario Minardi <mminardi@shaw.ca>

Update .github/workflows/build.yml

Co-authored-by: Mario Minardi <mminardi@shaw.ca>

Update build.yml
  • Loading branch information
agottardo committed Sep 12, 2024
1 parent 8e2c1cf commit 463bd20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,14 @@ jobs:
find . -name '*_test.go' -delete
- name: archive
run: cd .. && tar --exclude-vcs -zcf ${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz go
- name: Set artifacts_path in env (workaround for actions/upload-artifact#176)
run: |
echo "artifacts_path=$(realpath ..)" >> $GITHUB_ENV
- name: save
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}
path: ../${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz
path: ${{ env.artifacts_path }}/${{ matrix.GOOS }}-${{ matrix.GOARCH }}.tar.gz

create_release:
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -94,7 +97,7 @@ jobs:
needs: [create_release]
steps:
- name: download artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: ${{ matrix.GOOS }}-${{ matrix.GOARCH }}
- name: upload artifact
Expand Down

0 comments on commit 463bd20

Please sign in to comment.