diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e73b6c1..7f980cd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,23 +36,17 @@ jobs: cp target/x86_64-unknown-linux-gnu/release/grim linux/Grim.AppDir/AppRun ./appimagetool-x86_64.AppImage linux/Grim.AppDir target/x86_64-unknown-linux-gnu/release/grim-${{ github.ref_name }}-linux-x86_64.AppImage - name: Checksum AppImage x86 - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_linux_appimage_x86 - with: - working-directory: target/x86_64-unknown-linux-gnu/release - file: grim-${{ github.ref_name }}-linux-x86_64.AppImage - ext: grim-${{ github.ref_name }}-linux-x86_64-appimage-sha256sum.txt + working-directory: target/x86_64-unknown-linux-gnu/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-linux-x86_64.AppImage > grim-${{ github.ref_name }}-linux-x86_64-appimage-sha256sum.txt - name: AppImage ARM run: | cp target/aarch64-unknown-linux-gnu/release/grim linux/Grim.AppDir/AppRun ./appimagetool-x86_64.AppImage linux/Grim.AppDir target/aarch64-unknown-linux-gnu/release/grim-${{ github.ref_name }}-linux-arm.AppImage - name: Checksum AppImage ARM - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_linux_appimage_arm - with: - working-directory: target/aarch64-unknown-linux-gnu/release - file: grim-${{ github.ref_name }}-linux-arm.AppImage - ext: grim-${{ github.ref_name }}-linux-arm-appimage-sha256sum.txt + working-directory: target/aarch64-unknown-linux-gnu/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-linux-arm.AppImage > grim-${{ github.ref_name }}-linux-arm-appimage-sha256sum.txt - name: Release uses: softprops/action-gh-release@v1 with: @@ -78,23 +72,17 @@ jobs: files: target/release/grim.exe dest: target/release/grim-${{ github.ref_name }}-win-x86_64.zip - name: Checksum release - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_windows_x86 - with: - working-directory: target/release - file: grim-${{ github.ref_name }}-win-x86_64.zip - ext: grim-${{ github.ref_name }}-win-x86_64-sha256sum.txt + working-directory: target/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-win-x86_64.zip > grim-${{ github.ref_name }}-win-x86_64-sha256sum.txt - name: Install cargo-wix run: cargo install cargo-wix - name: Run cargo-wix run: cargo wix -p grim -o ./target/wix/grim-${{ github.ref_name }}-win-x86_64.msi --nocapture - - name: Checksum Release x86 - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_windows_msi_x86 - with: - working-directory: target/wix - file: grim-${{ github.ref_name }}-win-x86_64.msi - ext: grim-${{ github.ref_name }}-win-x86_64-msi-sha256sum.txt + - name: Checksum msi + working-directory: target/wix + shell: bash + run: sha256sum grim-${{ github.ref_name }}-win-x86_64.msi > grim-${{ github.ref_name }}-win-x86_64-msi-sha256sum.txt - name: Release uses: softprops/action-gh-release@v1 with: @@ -130,12 +118,9 @@ jobs: mv grim-${{ github.ref_name }}-macos-x86_64.zip ../target/x86_64-apple-darwin/release cd .. - name: Checksum Release x86 - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_macos_x86 - with: - working-directory: target/x86_64-apple-darwin/release - file: grim-${{ github.ref_name }}-macos-x86_64.zip - ext: grim-${{ github.ref_name }}-macos-x86_64-sha256sum.txt + working-directory: target/x86_64-apple-darwin/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-macos-x86_64.zip > grim-${{ github.ref_name }}-macos-x86_64-sha256sum.txt - name: Release ARM run: | rustup target add aarch64-apple-darwin @@ -148,12 +133,9 @@ jobs: mv grim-${{ github.ref_name }}-macos-arm.zip ../target/aarch64-apple-darwin/release cd .. - name: Checksum Release ARM - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_macos_arm - with: - working-directory: target/aarch64-apple-darwin/release - file: grim-${{ github.ref_name }}-macos-arm.zip - ext: grim-${{ github.ref_name }}-macos-arm-sha256sum.txt + working-directory: target/aarch64-apple-darwin/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-macos-arm.zip > grim-${{ github.ref_name }}-macos-arm-sha256sum.txt - name: Release Universal run: | rustup target add aarch64-apple-darwin @@ -167,12 +149,9 @@ jobs: mv grim-${{ github.ref_name }}-macos-universal.zip ../target/universal2-apple-darwin/release cd .. - name: Checksum Release Universal - uses: qlrd/sha256sum-action@v1.0.0 - id: hashing_macos_universal - with: - working-directory: target/universal2-apple-darwin/release - file: grim-${{ github.ref_name }}-macos-universal.zip - ext: grim-${{ github.ref_name }}-macos-universal-sha256sum.txt + working-directory: target/universal2-apple-darwin/release + shell: bash + run: sha256sum grim-${{ github.ref_name }}-macos-universal.zip > grim-${{ github.ref_name }}-macos-universal-sha256sum.txt - name: Release uses: softprops/action-gh-release@v1 with: