Skip to content

Commit

Permalink
workflow: tweak release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Nov 25, 2023
1 parent dec31d3 commit 6fe2e9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy Python package
name: Build and deploy to PyPi

on:
release:
Expand All @@ -9,7 +9,7 @@ permissions:

jobs:
build:
name: Build and deploy Python package
name: Build Python package
runs-on: ubuntu-latest

steps:
Expand All @@ -22,11 +22,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build
pip install .
- name: Build package
run: python -m build

pypi-publish:
name: Deploy release to PyPI
name: Deploy to PyPI
needs: build
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit 6fe2e9b

Please sign in to comment.