Merge pull request #9462 from cli/9394-update-go-extension-workflow-template-to-reflect-recent-enhancements-to-cligh-extension-precompile

Update Go and other extension workflow templates to reflect recent enhancements to `cli/gh-extension-precompile`
This commit is contained in:
Andy Feller 2024-08-15 13:43:42 -04:00 committed by GitHub
commit 0e690fad0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -5,10 +5,15 @@ on:
- "v*"
permissions:
contents: write
id-token: write
attestations: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cli/gh-extension-precompile@v1
with:
generate_attestations: true
go_version_file: go.mod

View file

@ -10,7 +10,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: cli/gh-extension-precompile@v1
with:
build_script_override: "script/build.sh"