forked from boneskull/gh-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 849 Bytes
/
release.yml
File metadata and controls
35 lines (29 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
permissions:
contents: write
pull-requests: write
id-token: write
attestations: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Release Please
id: release
uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Build and upload binaries
if: ${{ steps.release.outputs.release_created }}
uses: cli/gh-extension-precompile@v2
with:
generate_attestations: true
go_version_file: go.mod
release_tag: ${{ steps.release.outputs.tag_name }}