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 contents: write
jobs: jobs:
run-tests:
uses: ./.github/workflows/test.yml
build-n-publish: build-n-publish:
needs: run-tests
permissions: permissions:
id-token: write id-token: write
uses: ./.github/workflows/pypi.yml uses: ./.github/workflows/pypi.yml
create-release: create-release:
needs: build-n-publish
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest runs-on: ubuntu-latest