job release depends on job test
This commit is contained in:
parent
3518c4722a
commit
a52468a167
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: Release
|
||||
on: push
|
||||
jobs:
|
||||
test&build:
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
matrix:
|
||||
|
@ -16,6 +16,7 @@ jobs:
|
|||
- run: go run main.go
|
||||
release:
|
||||
runs-on: ubuntu-18.04
|
||||
needs: test
|
||||
steps:
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue