-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7049a64
commit 42e3c2c
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
name: publish (slsa 3) | ||
name: release (slsa 3) | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [created] | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
outputs: | ||
hashes: ${{ steps.hash.outputs.hashes }} | ||
|
||
|
@@ -31,8 +33,9 @@ jobs: | |
HASHES=$(sha256sum * | base64 -w0) | ||
echo "hashes=$HASHES" >> "$GITHUB_OUTPUT" | ||
- name: upload artifacts | ||
- name: release | ||
uses: softprops/[email protected] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
dist/*.whl | ||
|