go-tools/.gitea/workflows/bump.yml
xuu 6fde8237fc
Some checks failed
Go Test / test (push) Successful in 52s
Go Bump / bump (push) Failing after 25s
feat: add build info endpoint
2023-09-30 19:53:28 -06:00

37 lines
778 B
YAML

name: Go Bump
on:
# workflow_dispatch:
# inputs:
# stable:
# description: 'Stable Release'
# required: false
# type: boolean
# prerelease:
# description: 'Pre Release'
# required: false
# type: boolean
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo stable=${{ inputs.stable }} pre=${{ inputs.prerelease }}
- 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: cli next --stable=false
- run: echo "🍏 This job's status is ${{ job.status }}."