Fix concurrency deadlock

This commit is contained in:
object-Object 2023-09-24 21:27:59 -04:00
parent 419d7d283d
commit 7a445bccfd
2 changed files with 4 additions and 8 deletions

View file

@ -45,7 +45,7 @@ concurrency:
cancel-in-progress: false
jobs:
build:
hexdoc:
uses: ./.github/workflows/hexdoc.yml
permissions:
@ -69,9 +69,9 @@ jobs:
publish-pypi:
runs-on: ubuntu-latest
needs: [build]
needs: [hexdoc]
if: |-
needs.build.outputs.publish-release == 'true' &&
needs.hexdoc.outputs.publish-release == 'true' &&
(github.event_name != 'workflow_dispatch' || inputs.publish == 'PyPI (release)')
environment:
@ -93,7 +93,7 @@ jobs:
publish-testpypi:
runs-on: ubuntu-latest
needs: [build]
needs: [hexdoc]
if: github.event_name == 'workflow_dispatch' && inputs.publish == 'TestPyPI'
environment:

View file

@ -31,10 +31,6 @@ on:
permissions:
contents: read
concurrency:
group: hexdoc
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest