From 632bdcc2fa8e6a9804122a4d6f2a3dbdf475055e Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Wed, 27 Dec 2023 12:12:13 +0200 Subject: [PATCH] Workflows: Implement pre-release step in snapshot workflow --- .github/workflows/snapshot.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 84d4c7f0..0cd1151c 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -37,9 +37,15 @@ jobs: if: ${{ inputs.prerelease }} needs: version name: Create pre-release - runs-on: ubuntu-latest - steps: - - run: "true" + uses: ncipollo/release-action@v1 + with: + tag: ${{ needs.version.outputs.version }} + name: Pre-release ${{ github.ref }} + draft: false + prerelease: true + generateReleaseNotes: true + discussionCategory: "Releases" + makeLatest: false ubuntu: needs: version