Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mjt320 authored Feb 8, 2024
1 parent 7ed5085 commit 9fce054
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check_version:
name: Check whether version has been updated cf. pypi
name: Check version
runs-on: ubuntu-latest

steps:
Expand All @@ -27,6 +27,8 @@ jobs:
echo "Public version: ${{ steps.versioncheck.outputs.public_version }}" # e.g., 0.1.0
build:
needs:
- check_version
name: Build distribution 📦
runs-on: ubuntu-latest
if: needs.check_version.versioncheck.outputs.local_version_is_higher
Expand Down

0 comments on commit 9fce054

Please sign in to comment.