From fd274a8072e02bdd601e9aad574a30573099e5fd Mon Sep 17 00:00:00 2001 From: "Caleb J. Gardner" Date: Thu, 12 Feb 2026 04:18:19 -0600 Subject: [PATCH] Different try to upload release files --- .github/workflows/release-build.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 5e91fa3..dd3bab6 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -1,9 +1,6 @@ name: Release Build -on: - push: - tags: - - "v*.*.*" +on: release jobs: build: @@ -22,10 +19,11 @@ jobs: run: zig build -Drelease=true -Duse_c_libs=true -Dversion="${{ github.ref_name }}" - name: Move C build out run: mv zig-out/bin/unsquashfs ./unsquashfs-c-libs - - name: Release - uses: softprops/action-gh-release@v2 + - name: Upload to release + uses: JasonEtco/upload-to-release@master with: - prerelease: true - files: | - unsquashfs - unsquashfs-c-libs + args: | + unsquashfs application/x-executable + unsquashfs-c-libs application/x-executable + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}