turns out github releases require a tag, now it runs automatically for all tagged commits

This commit is contained in:
David Dworken 2022-04-08 21:52:22 -07:00
parent 3c45c1c959
commit c3d232ea36

View File

@ -1,6 +1,9 @@
name: SLSA go releaser
on:
workflow_dispatch:
push:
tags:
- "*"
permissions: read-all
@ -45,6 +48,7 @@ jobs:
name: ${{ needs.build.outputs.go-binary-name }}.intoto.jsonl
- name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ needs.build.outputs.go-binary-name }}