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:
commit
0e690fad0e
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue