From cf2a6acd65dae40ea2c6ada81f5c7468ea3ccdbb Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 22 May 2024 09:20:07 -0400 Subject: [PATCH] ci: use prerelease logic --- .github/workflows/CI.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 02c3b58..3befed9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,26 +10,16 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: "${{ github.workflow }}-${{ github.ref }}" cancel-in-progress: true jobs: setup_release: name: Setup Release outputs: - changelog_changes: ${{ steps.setup_release.outputs.changelog_changes }} - changelog_date: ${{ steps.setup_release.outputs.changelog_date }} - changelog_exists: ${{ steps.setup_release.outputs.changelog_exists }} - changelog_release_exists: ${{ steps.setup_release.outputs.changelog_release_exists }} - changelog_url: ${{ steps.setup_release.outputs.changelog_url }} - changelog_version: ${{ steps.setup_release.outputs.changelog_version }} - publish_pre_release: ${{ steps.setup_release.outputs.publish_pre_release }} publish_release: ${{ steps.setup_release.outputs.publish_release }} - publish_stable_release: ${{ steps.setup_release.outputs.publish_stable_release }} - release_body: ${{ steps.setup_release.outputs.release_body }} release_build: ${{ steps.setup_release.outputs.release_build }} release_commit: ${{ steps.setup_release.outputs.release_commit }} - release_generate_release_notes: ${{ steps.setup_release.outputs.release_generate_release_notes }} release_tag: ${{ steps.setup_release.outputs.release_tag }} release_version: ${{ steps.setup_release.outputs.release_version }} runs-on: ubuntu-latest @@ -39,7 +29,7 @@ jobs: - name: Setup Release id: setup_release - uses: LizardByte/setup-release-action@v2024.419.10846 + uses: LizardByte/setup-release-action@v2024.520.193857 with: github_token: ${{ secrets.GITHUB_TOKEN }} @@ -114,13 +104,12 @@ jobs: - name: Create/Update GitHub Release if: ${{ needs.setup_release.outputs.publish_release == 'true' }} - uses: LizardByte/create-release-action@v2023.1219.224026 + uses: LizardByte/create-release-action@v2024.520.193838 with: allowUpdates: true - body: '' discussionCategory: announcements generateReleaseNotes: true name: ${{ needs.setup_release.outputs.release_tag }} - prerelease: ${{ needs.setup_release.outputs.publish_pre_release }} + prerelease: true tag: ${{ needs.setup_release.outputs.release_tag }} token: ${{ secrets.GH_BOT_TOKEN }}