diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ba49f3..8f5eb10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ jobs: name: Build and Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: mlugg/setup-zig@v1 with: version: 0.13.0 @@ -19,17 +19,11 @@ jobs: zig build -Doptimize=ReleaseFast -Dtarget=riscv64-linux-musl xz -zc zig-out/bin/droidux > droidux-riscv64-linux-musl.xz - - uses: actions/create-release@latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: softprops/action-gh-release@v2 with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - Development binary releases - draft: false - prerelease: false files: | droidux-x86_64-linux-musl.xz droidux-aarch64-linux-musl.xz droidux-riscv64-linux-musl.xz + tag_name: ${{ env.GITHUB_SHA }} + make_latest: true