Browse Source

Update go-ossf-slsa3-publish.yml

master
yuriy0803 2 years ago committed by GitHub
parent
commit
241003900b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 23
      .github/workflows/go-ossf-slsa3-publish.yml

23
.github/workflows/go-ossf-slsa3-publish.yml

@ -1,4 +1,4 @@
name: SLSA Go releaser name: Open ETC Pool Friends
on: on:
workflow_dispatch: workflow_dispatch:
@ -16,10 +16,23 @@ jobs:
id-token: write # To sign. id-token: write # To sign.
contents: write # To upload release assets. contents: write # To upload release assets.
actions: read # To read workflow path. actions: read # To read workflow path.
uses: slsa-framework/slsa-github-generator/.github/workflows/builder_go_slsa3.yml@v1.4.0 runs-on: ubuntu-latest
with: steps:
go-version: 1.19 - name: Checkout code
output: ./dist uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Install GoReleaser
run: |
curl -sfL https://install.goreleaser.com/install-goreleaser.sh | sh
- name: Build
run: |
go build -o ./dist/open-etc-pool-friends
publish: publish:
needs: build needs: build

Loading…
Cancel
Save