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 d112817 commit a9adce7Copy full SHA for a9adce7
.github/workflows/release.yml
@@ -6,16 +6,19 @@ on:
6
jobs:
7
release:
8
runs-on: ubuntu-latest
9
+ environment:
10
+ name: pypi
11
+ url: https://pypi.org/p/3scale-api
12
+ permissions:
13
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
14
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
15
+ - uses: actions/checkout@v4
16
+ - uses: actions/setup-python@v5
17
with:
18
python-version: '3.11'
19
- name: setup
20
run: pip install wheel
21
- name: build
22
run: python setup.py --release-version ${GITHUB_REF#refs/tags/v} sdist bdist_wheel
- - name: release
23
+ - name: Publish package distributions to PyPI
24
uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments