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 1b20f31 commit 35fa1baCopy full SHA for 35fa1ba
1 file changed
.github/workflows/release.yml
@@ -1,4 +1,4 @@
1
-name: Release
+name: Publish umbi to PyPI
2
3
on:
4
push:
@@ -7,18 +7,19 @@ on:
7
workflow_dispatch:
8
9
jobs:
10
- release:
+ build-and-publish:
11
runs-on: ubuntu-latest
12
+ permissions:
13
+ id-token: write # Required for OIDC!
14
+ contents: read
15
+
16
steps:
- - name: Checkout source
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
17
+ - uses: actions/checkout@v4
18
19
- name: Set up Python
20
uses: actions/setup-python@v5
21
with:
- python-version: '3.x'
22
+ python-version: '3.11'
23
24
- name: Install build dependencies
25
run: |
@@ -30,5 +31,3 @@ jobs:
30
31
32
- name: Publish to PyPI
33
uses: pypa/gh-action-pypi-publish@release/v1
34
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments