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 aae8bde commit f99882dCopy full SHA for f99882d
.github/workflows/onrelease.yml renamed to .github/workflows/release.yml
@@ -7,12 +7,13 @@ on:
7
8
jobs:
9
release:
10
- runs-on: ${{ matrix.os }}
11
- strategy:
12
- max-parallel: 1
13
- matrix:
14
- python-version: [ 3.8 ]
15
- os: [ ubuntu-latest ]
+ runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ # Used to authenticate to PyPI via OIDC and sign the release's artifacts with sigstore-python.
+ id-token: write
+ # Used to attach signing artifacts to the published release.
16
+ contents: write
17
18
steps:
19
- name: Checkout
@@ -44,9 +45,3 @@ jobs:
44
45
46
- name: Publish a Python distribution to PyPI
47
uses: pypa/gh-action-pypi-publish@release/v1
- with:
48
- user: __token__
49
- password: ${{ secrets.LABS_PYPI_TOKEN }}
50
-
51
52
0 commit comments