From 70fad3a406766198440313b1127ff00a9567aac8 Mon Sep 17 00:00:00 2001 From: Wojciech Nawrocki Date: Fri, 20 Dec 2024 09:13:31 -0500 Subject: [PATCH] ci: tag prereleases --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cb64bb..8657c2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,9 @@ jobs: - name: Create GitHub release for tag (Ubuntu) if: github.ref_type == 'tag' && matrix.os == 'ubuntu-latest' - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 + with: + prerelease: ${{ contains(github.ref, '-pre') }} - name: Upload release archive (Ubuntu) if: github.ref_type == 'tag' && matrix.os == 'ubuntu-latest'