7 Commits

Author SHA1 Message Date
xuu
cdc7d62440 fix: bump version
All checks were successful
Go Bump / bump (push) Successful in 42s
Go Test / test (push) Successful in 51s
2023-09-30 20:56:24 -06:00
xuu
5180a93ee6 build: test workflow dispatch
Some checks failed
Go Bump / bump (push) Failing after 32s
Go Test / test (push) Successful in 48s
2023-09-30 20:19:33 -06:00
xuu
864a130df4 build: test workflow dispatch
All checks were successful
Go Bump / bump (push) Successful in 36s
Go Test / test (push) Successful in 48s
2023-09-30 20:10:30 -06:00
xuu
27607eb867 build: test workflow dispatch
All checks were successful
Go Bump / bump (push) Successful in 44s
Go Test / test (push) Successful in 1m0s
2023-09-30 20:05:56 -06:00
xuu
aa0782a800 build: test workflow dispatch
Some checks failed
Go Bump / bump (push) Failing after 38s
Go Test / test (push) Successful in 51s
2023-09-30 20:03:37 -06:00
xuu
8c879b31c2 build: test workflow dispatch
Some checks failed
Go Bump / bump (push) Failing after 39s
Go Test / test (push) Successful in 47s
2023-09-30 19:58:47 -06:00
xuu
f5ed427dd2 build: test workflow dispatch
All checks were successful
Go Test / test (push) Successful in 46s
2023-09-30 19:57:17 -06:00
3 changed files with 48 additions and 15 deletions

View File

@@ -0,0 +1,26 @@
name: Go Bump
on:
push:
branches: [ "main" ]
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 --stable=false)
- run: git push --tags
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -1,28 +1,30 @@
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" ]
workflow_dispatch:
inputs:
NAME:
description: "A random input name for the workflow"
type: string
SOME_VALUE:
description: "Some other input to pass"
type: string
# push:
# branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- run: echo stable=${{ inputs.stable }} pre=${{ inputs.prerelease }}
- run: echo stable=${{ inputs.STABLE }} pre=${{ inputs.BETA }}
- name: Set up Go
uses: actions/setup-go@v3

View File

@@ -5,12 +5,17 @@ on:
# branches: [ "main" ]
release:
types: [ published ]
create:
types: [ tag ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- run: apt-get update && apt-get -y install ansible