go-paste/.gitea/workflows/bump-push.yml
xuu 79114e8b8e
All checks were successful
Go Bump / bump (push) Successful in 28s
Update .gitea/workflows/bump-push.yml
2023-11-09 13:52:20 -07:00

26 lines
505 B
YAML

name: Go Bump
on:
push:
branches: [ "main", "master" ]
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.1
- run: go install github.com/psanetra/git-semver/cli@master
- run: git tag v$(cli next) && git push --tags || echo no change
- run: echo "🍏 This job's status is ${{ job.status }}."