Skip to content

Commit

Permalink
Update CI workflow to publish package to TestPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Apr 6, 2024
1 parent eeefc6e commit 40f5d39
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [push, pull_request]

jobs:
build-package:
build-and-publish-package:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref_name }}-build-pkg
Expand All @@ -17,6 +17,12 @@ jobs:

- run: make build

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy

lint:
runs-on: ubuntu-latest
concurrency:
Expand Down

0 comments on commit 40f5d39

Please sign in to comment.