From e9d0e6331e64734692065ed328695dbd3ea24568 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sat, 2 Dec 2023 12:41:14 +0100 Subject: [PATCH] Try to fix release --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5236731..39af662 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,7 +25,7 @@ jobs: path: rpcn-linux.tar.gz - name: Release uses: softprops/action-gh-release@v1 - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags/') with: files: rpcn-linux.tar.gz @@ -51,6 +51,6 @@ jobs: path: rpcn-win.zip - name: Release uses: softprops/action-gh-release@v1 - if: github.ref == 'refs/heads/master' + if: startsWith(github.ref, 'refs/tags/') with: files: rpcn-win.zip