generated from ydataai/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(actions): merge dev and draft releases into one actions (#40)
- Loading branch information
1 parent
5e2ae60
commit 37b2177
Showing
1 changed file
with
3 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
env: | ||
|