File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ jobs:
6767 uses : actions/attest-build-provenance@v1
6868 with :
6969 subject-path : dist/pcs_linux_amd64_v3/power-control
70- # - name: Attest power-control binary arm64
71- # uses: actions/attest-build-provenance@v1
72- # with:
73- # subject-path: dist/pcs_linux_arm64_v8.0/power-control
70+ - name : Attest power-control binary arm64
71+ uses : actions/attest-build-provenance@v1
72+ with :
73+ subject-path : dist/pcs_linux_arm64_v8.0/power-control
7474 - name : Generate build provenance
7575 uses : actions/attest-build-provenance@v1
7676 with :
Original file line number Diff line number Diff line change @@ -12,15 +12,18 @@ builds:
1212 binary : power-control
1313 goos :
1414 - linux
15- - darwin
16- - windows
1715 goarch :
1816 - amd64
1917 - arm64
2018 goamd64 :
2119 - v3
2220 env :
2321 - CGO_ENABLED=1
22+ - >-
23+ {{- if eq .Os "linux" }}
24+ {{- if eq .Arch "arm64"}}CC=aarch64-linux-gnu-gcc{{- end }}
25+ {{- end }}
26+
2427 ldflags :
2528 - " -s -w -X main.GitCommit={{.Commit}} \
2629 -X main.BuildTime={{.Timestamp}} \
You can’t perform that action at this time.
0 commit comments