Skip to content

Commit

Permalink
better naming of release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdivo committed Apr 11, 2023
1 parent 5d472e7 commit fdcd892
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
# Idea: https://stackoverflow.com/a/63352329/3753684

name: Upload Python Package to PyPI
name: Release Python Package

on:
push:
Expand All @@ -23,11 +23,12 @@ jobs:
uses: softprops/action-gh-release@v1
with:
release_name: Release ${{ github.ref }}
draft: true
draft: false
prerelease: false

deploy-pypi:
needs: add-github-release
deploy-to-pypi:
needs: add-github-release # This is important to keep thins in sync
name: Deploy as PyPI Package
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit fdcd892

Please sign in to comment.