go-tools/.gitea/workflows/bump.yml

39 lines
792 B
YAML
Raw Permalink Normal View History

2023-09-30 16:19:41 -06:00
name: Go Bump
2023-09-30 16:19:41 -06:00
on:
2023-09-30 19:57:17 -06:00
workflow_dispatch:
inputs:
NAME:
description: "A random input name for the workflow"
type: string
SOME_VALUE:
description: "Some other input to pass"
type: string
2023-09-30 19:57:17 -06:00
2023-09-30 19:57:17 -06:00
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
2023-09-30 16:19:41 -06:00
2023-09-30 16:19:41 -06:00
jobs:
2023-09-30 16:19:41 -06:00
bump:
2023-09-30 16:19:41 -06:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-09-30 19:57:17 -06:00
with:
2023-09-30 19:57:17 -06:00
fetch-depth: 0
2023-09-30 19:57:17 -06:00
fetch-tags: true
2023-09-30 16:19:41 -06:00
2023-09-30 19:57:17 -06:00
- run: echo stable=${{ inputs.STABLE }} pre=${{ inputs.BETA }}
2023-09-30 16:19:41 -06:00
- 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 }}."