From 37b21774c07a341c0f2948b85d11d59162e87334 Mon Sep 17 00:00:00 2001 From: Vasco Ramos Date: Wed, 18 Jan 2023 17:20:16 +0000 Subject: [PATCH] fix(actions): merge dev and draft releases into one actions (#40) --- .github/workflows/merge-main.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/merge-main.yml b/.github/workflows/merge-main.yml index 4d27166..3951d09 100644 --- a/.github/workflows/merge-main.yml +++ b/.github/workflows/merge-main.yml @@ -35,13 +35,13 @@ jobs: - name: Git Short sha id: short_sha - run: echo "::set-output name=value::$(git rev-parse --short HEAD)" + run: echo "value=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - dev-release: + releases: if: needs.prepare.outputs.new_release == 'true' - name: Dev Release + name: Dev and Draft Releases runs-on: ubuntu-20.04 needs: @@ -60,17 +60,6 @@ jobs: body: ${{ github.event.head_commit.message }} prerelease: true - - draft-release: - if: needs.prepare.outputs.new_release == 'true' - - name: Draft Release - runs-on: ubuntu-20.04 - - needs: - - prepare - - steps: - name: Delete Previous drafts uses: hugo19941994/delete-draft-releases@v1.0.0 env: