mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-16 18:41:03 +01:00
CHeck if it is the config-file directive that is messing up the hash
This commit is contained in:
parent
5b766b05ae
commit
3bb8d74358
5
.github/workflows/slsa-releaser.yml
vendored
5
.github/workflows/slsa-releaser.yml
vendored
@ -33,14 +33,13 @@ jobs:
|
||||
config-file: .slsa-goreleaser-linux-amd64.yml
|
||||
go-version: 1.17
|
||||
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
|
||||
build:
|
||||
build-darwin-amd64:
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
needs: args
|
||||
uses: slsa-framework/slsa-github-generator-go/.github/workflows/slsa3_builder.yml@4d76ac56607d5364b3a48bd0a1680259be09e3a9
|
||||
with:
|
||||
config-file: .slsa-goreleaser-darwin-amd64.yml
|
||||
go-version: 1.17
|
||||
evaluated-envs: "VERSION_LDFLAGS:${{needs.args.outputs.ldflags}}"
|
||||
build-darwin-arm64:
|
||||
@ -92,7 +91,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-linux-amd64
|
||||
- build
|
||||
- build-darwin-amd64
|
||||
- build-darwin-arm64
|
||||
steps:
|
||||
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
|
||||
|
15
.slsa-goreleaser.yml
Normal file
15
.slsa-goreleaser.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: 1
|
||||
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
|
||||
flags:
|
||||
- -trimpath
|
||||
|
||||
goos: darwin
|
||||
goarch: amd64
|
||||
|
||||
binary: hishtory-{{ .Os }}-{{ .Arch }}
|
||||
|
||||
ldflags:
|
||||
- '{{ .Env.VERSION_LDFLAGS }}'
|
Loading…
Reference in New Issue
Block a user