Skip to content

Commit

Permalink
Add waiting room
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
hoxbro committed Dec 14, 2023
1 parent 78f10ad commit e2d838e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
conda_publish:
name: Publish Conda Package
runs-on: ubuntu-latest
needs: conda_build
# if: startsWith(github.ref, 'refs/tags/')
needs: [conda_build, waiting_room]
if: startsWith(github.ref, 'refs/tags/')
env:
CONDA_UPLOAD_TOKEN: ${{ secrets.CONDA_UPLOAD_TOKEN }}
defaults:
Expand Down Expand Up @@ -90,6 +90,16 @@ jobs:
# anaconda --token $CONDA_UPLOAD_TOKEN upload --user pyviz --label=dev --label=main ${{ env.CONDA_FILE }}
echo conda main upload
waiting_room:
name: Waiting Room
runs-on: ubuntu-latest
needs: [conda_build, pip_build]
# if: startsWith(github.ref, 'refs/tags/')
environment:
name: publish
steps:
- run: echo "All builds has finished and ready to publish"

pip_build:
name: Build PyPI Package
runs-on: 'ubuntu-latest'
Expand Down

0 comments on commit e2d838e

Please sign in to comment.