Skip to content

Commit 1123717

Browse files
Merge pull request #47 from nextmv-io/chore/enable-release-workflow
Change publish for release
2 parents 759ee0e + 9b2e092 commit 1123717

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml renamed to .github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: publish
2-
run-name: Publish ${{ inputs.VERSION }} (pre-release - ${{ inputs.IS_PRE_RELEASE }}) by @${{ github.actor }} from ${{ github.ref_name }}
1+
name: release
2+
run-name: Release ${{ inputs.VERSION }} (pre-release - ${{ inputs.IS_PRE_RELEASE }}) by @${{ github.actor }} from ${{ github.ref_name }}
33

44
on:
55
workflow_dispatch:
@@ -82,7 +82,7 @@ jobs:
8282
run: python -m build
8383
working-directory: ./nextmv-py
8484

85-
publish: # This job is used to publish the release to PyPI/TestPyPI
85+
release: # This job is used to publish the release to PyPI/TestPyPI
8686
runs-on: ubuntu-latest
8787
needs: bump
8888
strategy:
@@ -132,8 +132,8 @@ jobs:
132132

133133
notify:
134134
runs-on: ubuntu-latest
135-
needs: publish
136-
if: ${{ needs.publish.result == 'success' && inputs.IS_PRE_RELEASE == false }}
135+
needs: release
136+
if: ${{ needs.release.result == 'success' && inputs.IS_PRE_RELEASE == false }}
137137
steps:
138138
- name: notify slack
139139
run: |

0 commit comments

Comments
 (0)