-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Action workflows, setup info and Readme for dev version
- Loading branch information
nick
committed
Feb 28, 2024
1 parent
96d7681
commit f4d8b15
Showing
4 changed files
with
14 additions
and
18 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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
name: Publishing | ||
|
||
on: | ||
push: | ||
branches-ignore: [ master ] | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
uses: ./.github/workflows/test.yml | ||
publish: | ||
name: Publish the client to the public registry | ||
needs: [test] | ||
runs-on: ubuntu-latest | ||
env: | ||
NPMRC: ${{ secrets.NPMRC }} | ||
|
||
PYPIRC: ${{ secrets.PYPIRC }} | ||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Python 3.8 | ||
- name: Use Python 3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3,8' | ||
python-version: '3.10' | ||
- run: | | ||
echo $PYPIRC > ~/.pypirc | ||
python -m pip install --user --upgrade wheel | ||
python -m pip install --user --upgrade twine | ||
python setup.py sdist bdist_wheel | ||
python -m twine upload dist/* | ||
python -m twine upload dist/* -u __token__ -p $PYPI_TOKEN |
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
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
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