-
-
Notifications
You must be signed in to change notification settings - Fork 1
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@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- 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 }}