Compare commits
4 Commits
update-ver
...
main
Author | SHA1 | Date |
---|---|---|
wyang | b45ec15d40 | 2 years ago |
yangwang | 719fde58e3 | 2 years ago |
yangwang | 686ecfacea | 2 years ago |
github-actions[bot] | 797449dd8e | 2 years ago |
@ -0,0 +1,18 @@
|
|||||||
|
name: Generate Go package
|
||||||
|
run-name: Generate Go ${{ inputs.VERSION || '1.19.0' }}
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'releases/1.17.4.1'
|
||||||
|
- 'releases/**'
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
go:
|
||||||
|
name: Go
|
||||||
|
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main
|
||||||
|
with:
|
||||||
|
tool-name: "go"
|
||||||
|
tool-version: ${{ inputs.VERSION || '1.19.0' }}
|
||||||
|
publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
|
||||||
|
secrets: inherit
|
@ -1,31 +0,0 @@
|
|||||||
name: Generate Go package
|
|
||||||
run-name: Generate Go ${{ inputs.VERSION || '1.19.0' }}
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
VERSION:
|
|
||||||
description: 'Go version to build and upload'
|
|
||||||
required: true
|
|
||||||
default: '1.19.0'
|
|
||||||
PUBLISH_RELEASES:
|
|
||||||
description: 'Whether to publish releases'
|
|
||||||
type: boolean
|
|
||||||
required: true
|
|
||||||
default: false
|
|
||||||
pull_request:
|
|
||||||
paths-ignore:
|
|
||||||
- 'versions-manifest.json'
|
|
||||||
- 'LICENSE'
|
|
||||||
- '**.md'
|
|
||||||
branches:
|
|
||||||
- 'main'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
go:
|
|
||||||
name: Go
|
|
||||||
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main
|
|
||||||
with:
|
|
||||||
tool-name: "go"
|
|
||||||
tool-version: ${{ inputs.VERSION || '1.19.0' }}
|
|
||||||
publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
|
|
||||||
secrets: inherit
|
|
Loading…
Reference in New Issue