Skip to content

Commit

Permalink
ci: create release instead
Browse files Browse the repository at this point in the history
  • Loading branch information
markjoshwel authored Jun 3, 2023
1 parent 7049a64 commit 42e3c2c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/slsa-publish.yml
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 }}

Expand All @@ -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
Expand Down

0 comments on commit 42e3c2c

Please sign in to comment.