Fix concurrency deadlock
This commit is contained in:
parent
419d7d283d
commit
7a445bccfd
2 changed files with 4 additions and 8 deletions
8
.github/workflows/build_docs.yml
vendored
8
.github/workflows/build_docs.yml
vendored
|
@ -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:
|
||||
|
|
4
.github/workflows/hexdoc.yml
vendored
4
.github/workflows/hexdoc.yml
vendored
|
@ -31,10 +31,6 @@ on:
|
|||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: hexdoc
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue