-
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): add static analysis (#66)
- Loading branch information
1 parent
ac5f13e
commit 1c00cc4
Showing
4 changed files
with
140 additions
and
28 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 |
---|---|---|
|
@@ -37,11 +37,11 @@ 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 | ||
|
||
- name: Remove prefix 'v' from version | ||
id: version | ||
run: echo "::set-output name=value::`echo ${{ steps.semantic.outputs.new_release_version }} | sed -r 's|v()|\1|'`" | ||
run: echo "value=`echo ${{ steps.semantic.outputs.new_release_version }} | sed -r 's|v()|\1|'`" >> $GITHUB_OUTPUT | ||
|
||
|
||
build: | ||
|
@@ -77,10 +77,10 @@ jobs: | |
run: make build | ||
|
||
|
||
dev-release: | ||
releases: | ||
if: needs.prepare.outputs.new_release == 'true' | ||
|
||
name: Dev Release | ||
name: Dev and Draft Releases | ||
runs-on: | ||
- self-hosted | ||
- micro | ||
|
@@ -102,20 +102,6 @@ jobs: | |
body: ${{ github.event.head_commit.message }} | ||
prerelease: true | ||
|
||
|
||
draft-release: | ||
if: needs.prepare.outputs.new_release == 'true' | ||
|
||
name: Draft Release | ||
runs-on: | ||
- self-hosted | ||
- micro | ||
|
||
needs: | ||
- prepare | ||
- build | ||
|
||
steps: | ||
- name: Delete Previous drafts | ||
uses: hugo19941994/[email protected] | ||
env: | ||
|
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
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
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