From 0e3d227c3565c1d54ea035dc8c82f058d613be88 Mon Sep 17 00:00:00 2001 From: Casper Rogild Storm Date: Mon, 22 Apr 2024 09:31:18 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5de469a7..0b9a5a6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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 }} @@ -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 }} @@ -146,17 +146,19 @@ jobs: runs-on: ubuntu-latest continue-on-error: true steps: - - name: Download Artifacts - uses: robinraju/release-downloader@v1.10 + - 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: