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

V2/semver action 2 #111

Merged
merged 4 commits into from
Apr 28, 2024
Merged
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
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,13 @@ jobs:
uses: robherley/go-test-action@v0

new-version:
name: Bump tag version (semver)
runs-on: ubuntu-latest
if: github.event.pull_request.merged
steps:
- uses: 1k-off/[email protected]
name: Bump version and push tag
id: tag
with:
version: latest
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Echo the new tag
run: echo "The new tag is ${{ steps.tag.outputs.tag }}"
- name: Tag
uses: K-Phoen/semver-release-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Echo new tag
run: |
echo "New tag is ${{ steps.tag.outputs.tag }}"