Skip to content

Commit

Permalink
run tests on push
Browse files Browse the repository at this point in the history
  • Loading branch information
trincaog committed Jan 2, 2024
1 parent 93db36c commit 59a98e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- name: Extract tag name
id: tag
run: echo "TAG_NAME=$(echo $GITHUB_REF | cut -d / -f 3)" >> "$GITHUB_OUTPUT"
run: echo "PKG_VERSION=$(echo $GITHUB_REF | cut -d / -f 3)" >> "$GITHUB_OUTPUT"

- name: Update version in pyproject.toml
run: >-
sed -i "s/{{TAG_NAME}}/${{ steps.tag.outputs.PKG_VERSION }}/g" pyproject.toml
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.PKG_VERSION }}/g" pyproject.toml
- name: Build package
run: python -m build
Expand Down

0 comments on commit 59a98e7

Please sign in to comment.