From cb3660b0cb1aee1a23e641d14afd8d342d4cea60 Mon Sep 17 00:00:00 2001 From: Musselman Date: Sat, 16 Dec 2023 20:19:02 -0600 Subject: [PATCH] Update rust workflow --- .forgejo/workflows/build-and-release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build-and-release.yml b/.forgejo/workflows/build-and-release.yml index 133ae81..40c4023 100644 --- a/.forgejo/workflows/build-and-release.yml +++ b/.forgejo/workflows/build-and-release.yml @@ -11,9 +11,7 @@ jobs: - name: Build binary run: cargo build --release - name: Publish binary - uses: https://code.forgejo.org/forgejo/forgejo-build-publish/build@v1 + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - name: version_name_generator - platforms: linux/amd64,linux/arm64 - binary-name: version_name_generator - binary-path: /workspace/musselman/version_name_generator/target/release/version_name_generator + files: /workspace/musselman/version_name_generator/target/release/version_name_generator