Skip to content

Commit

Permalink
WIP: Update GitHub Actions workflow and project configuration for PyP…
Browse files Browse the repository at this point in the history
…I deployment

Signed-off-by: urasakikeisuke <[email protected]>
  • Loading branch information
urasakikeisuke committed May 15, 2024
1 parent cd9da58 commit c5c8375
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
release:
types: [published]

workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -29,5 +29,5 @@ jobs:
- name: Build distribution packages
run: rye build --clean

- name: Publish to PyPI
run: rye publish --yes --verbose --token ${{ secrets.PYPI_TOKEN }}
# - name: Publish to PyPI
# run: rye publish --yes --verbose --token ${{ secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ local_scheme = "no-local-version"

[tool.setuptools_scm]
write_to = "src/pypcd4/_version.py"
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"
version_scheme = "only-version"
local_scheme = "no-local-version"

[tool.ruff]
line-length = 100
Expand Down

0 comments on commit c5c8375

Please sign in to comment.