Skip to content

Commit

Permalink
Update go-ossf-slsa3-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy0803 authored Dec 4, 2023
1 parent 276e469 commit 2410039
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/go-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: SLSA Go releaser
name: Open ETC Pool Friends

on:
workflow_dispatch:
Expand All @@ -16,10 +16,23 @@ jobs:
id-token: write # To sign.
contents: write # To upload release assets.
actions: read # To read workflow path.
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
go-version: 1.19
output: ./dist
runs-on: ubuntu-latest
steps:
- name: Checkout code
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:
needs: build
Expand Down

0 comments on commit 2410039

Please sign in to comment.