-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test publishing * removed too many stuff * temporarily limiting the number of wheels * add pypi and revert temporary changes * changelog * revert previous changes
- Loading branch information
1 parent
bf61132
commit f5461b6
Showing
2 changed files
with
13 additions
and
5 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 |
---|---|---|
|
@@ -69,6 +69,11 @@ jobs: | |
if: github.event_name == 'release' && github.event.action == 'published' | ||
needs: [build_wheels, build_sdist] | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release | ||
url: https://test.pypi.org/p/tabmat | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
|
@@ -77,21 +82,21 @@ jobs: | |
|
||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.GH_TESTPYPI_UPLOAD }} | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
||
upload_pypi: | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
needs: [build_wheels, build_sdist, upload_testpypi] | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release | ||
url: https://pypi.org/p/tabmat | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.GH_PYPI_UPLOAD }} |
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