Skip to content

Commit

Permalink
Changed build workflow so that PyPI release is not done immediately.
Browse files Browse the repository at this point in the history
May allow to interrupt workflow before publish is done in case of misclick ^^'
  • Loading branch information
christophe-david committed Dec 9, 2021
1 parent 87c0749 commit 0cbc983
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [ published ]

jobs:
delete-tag:
move-tag:
runs-on: ubuntu-latest
steps:
- name: Move tag
Expand All @@ -29,6 +29,16 @@ jobs:
sha: context.sha
})
build-binder-image:
needs: build-publish-package
runs-on: ubuntu-latest
steps:
- name: cache binder build on mybinder.org
uses: jupyterhub/repo2docker-action@master
with:
NO_PUSH: true
MYBINDERORG_TAG: latest-release

build-publish-package:
runs-on: ${{ matrix.os }}
strategy:
Expand Down Expand Up @@ -75,12 +85,3 @@ jobs:
poetry config pypi-token.pypi "$TOKEN"
poetry publish
build-binder-image:
needs: build-publish-package
runs-on: ubuntu-latest
steps:
- name: cache binder build on mybinder.org
uses: jupyterhub/repo2docker-action@master
with:
NO_PUSH: true
MYBINDERORG_TAG: latest-release

0 comments on commit 0cbc983

Please sign in to comment.