-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Once a release is done, it will launch GH Action to proceed to publish master on PyPI.
- Loading branch information
1 parent
c0c2745
commit 3c4be2b
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Publish to PyPI | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v8 | ||
|
||
- name: Get the magic cache (Cachix) | ||
uses: cachix/cachix-action@v6 | ||
with: | ||
name: mangaki | ||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | ||
|
||
- name: Configure Poetry to publish | ||
run: poetry config pypi-token.pypi '${{ secrets.PYPI_API_TOKEN }}' | ||
|
||
- name: Publish to PyPI | ||
run: poetry publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
.DS_Store | ||
build | ||
venv | ||
.venv | ||
*.csv | ||
*.json | ||
*.pyc | ||
dist/ | ||
mangaki_zero.egg-info/ | ||
.coverage | ||
coverage.xml |