Skip to content

Commit

Permalink
fix(actions): merge dev and draft releases into one actions (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoalramos authored Jan 18, 2023
1 parent 5e2ae60 commit 37b2177
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
env:
Expand Down

0 comments on commit 37b2177

Please sign in to comment.