Skip to content

Commit

Permalink
🐛 update version file path in workflows (#235)
Browse files Browse the repository at this point in the history
* 🐛 update version file path in workflows

* feat: add Test PyPI upload workflow

* ♻️ simplify pre-release workflow and remove Test PyPI upload step
  • Loading branch information
yezz123 authored Dec 26, 2024
1 parent 9ac4f8e commit e4dcf5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
- name: install
run: pip install -U build

- name: check version
id: check-tag
uses: samuelcolvin/check-python-version@v4.1
with:
version_file_path: pragma_sdk/__init__.py

- name: build
run: python -m build

Expand All @@ -42,3 +36,4 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: check GITHUB_REF matches package version
uses: samuelcolvin/check-python-version@v4.1
with:
version_file_path: pragma_sdk/__init__.py
version_file_path: pragma-sdk/pragma_sdk/__init__.py

- run: uv build

Expand Down

0 comments on commit e4dcf5f

Please sign in to comment.