Only release on pypi after tests pass (#1452)

This commit is contained in:
Kien Dang 2023-08-11 14:51:59 +08:00 committed by GitHub
parent 4ac3f3f42d
commit 720db1f987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -6,8 +6,13 @@ on:
- 'v*'
jobs:
build:
lint:
uses: ./.github/workflows/lint.yml
tests:
uses: ./.github/workflows/tests.yml
release:
runs-on: ubuntu-latest
needs: [lint, tests]
steps:
- uses: actions/checkout@v3

View File

@ -4,6 +4,7 @@ on:
push:
branches: ["main"]
pull_request:
workflow_call:
jobs:
build:

View File

@ -4,6 +4,7 @@ on:
push:
branches: ["main"]
pull_request:
workflow_call:
jobs:
build: