Skip to content

Commit

Permalink
Merge pull request #11 from nextmv-io/merschformann/rename-publish-wo…
Browse files Browse the repository at this point in the history
…rkflow

Renames publish workflow to release
  • Loading branch information
merschformann authored Oct 1, 2024
2 parents 62e5c61 + 16ded79 commit 90bab29
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: publish
name: release
run-name: Release ${{ inputs.VERSION }} (pre-release - ${{ inputs.IS_PRE_RELEASE }}) by @${{ github.actor }} from ${{ github.ref_name }}

on:
workflow_dispatch:
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
run: python -m build
working-directory: ./nextplot

publish: # This job is used to publish the release to PyPI/TestPyPI
release: # This job is used to publish the release to PyPI/TestPyPI
runs-on: ubuntu-latest
needs: bump
strategy:
Expand Down Expand Up @@ -129,8 +130,8 @@ jobs:

notify:
runs-on: ubuntu-latest
needs: publish
if: ${{ needs.publish.result == 'success' && inputs.IS_PRE_RELEASE == false }}
needs: release
if: ${{ needs.release.result == 'success' && inputs.IS_PRE_RELEASE == false }}
steps:
- name: notify slack
run: |
Expand Down

0 comments on commit 90bab29

Please sign in to comment.