Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update release.yml #25

Merged
merged 5 commits into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Push New Tag Version
uses: anothrNick/github-tag-action@1.38.0
env:
WITH_V: true
RELEASE_BRANCHES: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Draft Release
- name: Publish Release
uses: release-drafter/release-drafter@v5.20.0
id: draft-release
id: release
with:
publish: true
tag: ${{ steps.tag.outputs.new_tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 17 additions & 1 deletion .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,20 @@ jobs:
${{ runner.os }}-go

- name: Run Test Suite
run: make test-unit
run: make test-unit

- name: Push New Tag Version
uses: anothrNick/github-tag-action@1.38.0
env:
WITH_V: true
RELEASE_BRANCHES: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Draft Release
uses: release-drafter/release-drafter@v5.20.0
id: draft-release
with:
tag: ${{ steps.tag.outputs.new_tag }}
commitish: ${{ github.sha }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}