File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 1- name : Build packages for release
1+ name : Release
22
33on :
44 release :
55 types :
66 - published
77
8- permissions :
9- id-token : write
10- attestations : write
11- contents : write
12-
138jobs :
149 build :
1510 runs-on : ubuntu-latest
1611
1712 env :
1813 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1914
20- steps :
21- - name : 🏷️ Check tag name
22- run : |
23- tag="${{ github.ref_name }}"
24- echo "$tag" | grep -Pq "^v\d+\.\d+\.\d+$" || (echo "::error::Tag name '$tag' does not correct." && exit 1)
15+ permissions :
16+ contents : write
17+ id-token : write
18+ attestations : write
2519
26- - name : 📥 Clone repository
20+ steps :
21+ - name : 📥 Checkout
2722 uses : actions/checkout@v4.2.2
23+ with :
24+ fetch-depth : 0
2825
2926 - name : ✅ Attest binary
3027 uses : actions/attest-build-provenance@v1.4.4
You can’t perform that action at this time.
0 commit comments