go-paste/.gitea/workflows/bump-push.yml

26 lines
505 B
YAML
Raw Permalink Normal View History

2023-10-13 11:29:51 -06:00
name: Go Bump
on:
push:
2023-10-19 17:15:34 -06:00
branches: [ "main", "master" ]
2023-10-13 11:29:51 -06:00
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
2023-11-09 13:52:20 -07:00
- run: git tag v$(cli next) && git push --tags || echo no change
2023-10-13 11:29:51 -06:00
- run: echo "🍏 This job's status is ${{ job.status }}."