You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
877 B
43 lines
877 B
name: SLSA Go Releaser |
|
|
|
on: |
|
release: |
|
types: |
|
- created |
|
|
|
jobs: |
|
build_windows: |
|
runs-on: windows-latest |
|
|
|
steps: |
|
- name: Checkout Repository |
|
uses: actions/checkout@v2 |
|
|
|
- name: Set up Go |
|
uses: actions/setup-go@v2 |
|
with: |
|
go-version: 1.19 |
|
|
|
- name: Run SLSA Go Generator (Windows) |
|
uses: slsa-framework/slsa-github-generator@v1.4.0 |
|
with: |
|
go-version: 1.19 |
|
# add any other necessary configuration here |
|
|
|
build_linux: |
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
- name: Checkout Repository |
|
uses: actions/checkout@v2 |
|
|
|
- name: Set up Go |
|
uses: actions/setup-go@v2 |
|
with: |
|
go-version: 1.19 |
|
|
|
- name: Run SLSA Go Generator (Linux) |
|
uses: slsa-framework/slsa-github-generator@v1.4.0 |
|
with: |
|
go-version: 1.19 |
|
# add any other necessary configuration here
|
|
|