Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
casperstorm committed Apr 22, 2024
1 parent 3926c37 commit 0e3d227
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "ARTIFACT_PATH=$(bash scripts/package-linux.sh archive_path)" >> "$GITHUB_ENV"
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: ${{ matrix.target.artifact_path }}

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target.target }}
path: ${{ env.ARTIFACT_PATH }}
Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ matrix.target.artifact }}
path: ${{ matrix.target.artifact }}
Expand All @@ -146,17 +146,19 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Download Artifacts
uses: robinraju/[email protected]
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
release_name: ${{ github.event.inputs.tag }}
fileName: "h*"
pattern: h*
merge-multiple: true

- name: Generate checksum
uses: jmgilman/actions-generate-checksum@v1
with:
patterns: h*
method: sha256
output: checksums.sha256.txt

- name: Publish checksums
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 0e3d227

Please sign in to comment.