1
0
Fork 0
mirror of https://github.com/actions/go-versions synced 2024-11-22 20:02:40 +00:00
go-versions/.github/workflows/build-go-packages.yml
gowridurgad 435e8c8778
Fix for CodeQL analysis workflow failures (#103)
* Update build-go-packages.yml

* Update build-go-packages.yml

* Update codeql-analysis.yml

* Update build-go-packages.yml

* Update build-go-packages.yml

* Update build-go-packages.yml
2024-07-25 08:50:52 -05:00

31 lines
786 B
YAML

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