File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010jobs :
1111 deploy :
12+ environment : release
13+ permissions :
14+ id-token : write # This is required for requesting the JWT
1215
1316 runs-on : ubuntu-latest
1417
@@ -18,21 +21,22 @@ jobs:
1821 uses : actions/setup-python@v5
1922 with :
2023 python-version : ' 3.x'
24+
2125 - name : Install dependencies
2226 run : |
2327 python -m pip install --upgrade pip
2428 python3 -m pip install -r requirements-dev.txt
2529 pip install setuptools wheel
26- - name : Build and publish
27- env :
28- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
29- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
30+ shell : bash
31+
32+ - name : Create wheel
3033 run : |
3134 rm -f archivist_samples/about.py
3235 ./scripts/version.sh
3336 cat archivist_samples/about.py
3437 python3 -m build --sdist
3538 python3 -m build --wheel
39+ shell : bash
3640
3741 - name : Publish to PyPi
3842 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments