We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76893c8 commit a5d130aCopy full SHA for a5d130a
.github/workflows/ci.yml
@@ -45,3 +45,23 @@ jobs:
45
- name: Run tests
46
run: |
47
pytest
48
+
49
+ release-pypi:
50
+ name: "Release to pypi"
51
+ runs-on: ubuntu-latest
52
+ if: github.event_name == 'release'
53
+ needs: [build-docs, tests, test-rsconnect]
54
+ steps:
55
+ - uses: actions/checkout@v2
56
+ - uses: actions/setup-python@v2
57
+ with:
58
+ python-version: "3.10"
59
+ - name: "Build Package"
60
+ run: |
61
+ python -m pip install build wheel
62
+ python -m build --sdist --wheel
63
+ - name: "Deploy to Test PyPI"
64
+ uses: pypa/gh-action-pypi-publish@release/v1
65
66
+ user: __token__
67
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments