Skip to content

Commit

Permalink
Renamed job to distinguish actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kccwing authored Aug 29, 2024
1 parent e20210f commit b8704e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pypi_build.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Create and publish pypi image

on:
# only runs when there are pushes to develop and main
# and for pull requests to develop and main
# only runs when there are pushes to develop and main for publishing
# and for testing, pull requests to develop and main
# and if there are changes to the build process and github action
push:
branches:
Expand All @@ -18,7 +18,7 @@ on:
- 'rc*'

jobs:
build:
create-pypi-image:
runs-on: ubuntu-latest
env:
python-version-chosen: "3.10.8"
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/v') # only publish to PyPI on tag pushes
needs:
- build
- create-pypi-image
runs-on: ubuntu-latest
environment:
name: pypi
Expand Down

0 comments on commit b8704e3

Please sign in to comment.