ci: add flow to release workflow

This commit is contained in:
Daylin Morgan 2023-10-07 16:46:40 -05:00
parent 2bc512314b
commit 64d55811a2
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -9,12 +9,17 @@ permissions:
contents: write
jobs:
run-tests:
uses: ./.github/workflows/test.yml
build-n-publish:
needs: run-tests
permissions:
id-token: write
uses: ./.github/workflows/pypi.yml
create-release:
needs: build-n-publish
env:
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest