Skip to content

Test release

Test release #2

Workflow file for this run

name: Release
on:
push:
branches: [ "dev" ] # test
# branches: [ "main" ]
# tags: [ "**" ]
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
permissions:
# write permission is required to create a github release
contents: write
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v4
- name: Unpack artifact
run: |
unzip -qp hath-rust-x86_64-unknown-linux-gnu.zip > hath-rust-x86_64-unknown-linux-gnu
unzip -qp hath-rust-aarch64-unknown-linux-gnu.zip > hath-rust-aarch64-unknown-linux-gnu
unzip -qp hath-rust-armv7-unknown-linux-gnueabihf.zip > hath-rust-armv7-unknown-linux-gnueabihf
unzip -qp hath-rust-x86_64-pc-windows-msvc.zip > hath-rust-x86_64-pc-windows-msvc.exe
unzip -qp hath-rust-i686-pc-windows-msvc.zip > hath-rust-i686-pc-windows-msvc.exe
unzip -qp hath-rust-universal-apple-darwin.zip > hath-rust-universal-apple-darwin
- name: Create release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true
files: |
hath-rust-x86_64-unknown-linux-gnu
hath-rust-aarch64-unknown-linux-gnu
hath-rust-armv7-unknown-linux-gnueabihf
hath-rust-x86_64-pc-windows-msvc.exe
hath-rust-i686-pc-windows-msvc.exe
hath-rust-universal-apple-darwin