go-versions/.github/workflows/build-go-packages.yml

32 lines
792 B
YAML
Raw Normal View History

name: Generate Go package
2022-12-06 17:59:40 +00:00
run-name: Generate Go ${{ inputs.VERSION || '1.19.0' }}
on:
workflow_dispatch:
inputs:
VERSION:
description: 'Go version to build and upload'
required: true
2022-12-06 17:59:40 +00:00
default: '1.19.0'
PUBLISH_RELEASES:
description: 'Whether to publish releases'
2022-12-06 17:59:40 +00:00
type: boolean
required: true
2022-12-06 17:59:40 +00:00
default: false
pull_request:
paths-ignore:
- 'versions-manifest.json'
- 'LICENSE'
- '**.md'
branches:
- 'main'
jobs:
2022-12-06 17:59:40 +00:00
go:
name: Go
2024-06-28 11:23:15 +00:00
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@test-arm64
2022-12-06 17:59:40 +00:00
with:
tool-name: "go"
tool-version: ${{ inputs.VERSION || '1.19.0' }}
publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
2024-06-28 11:23:15 +00:00
secrets: inherit