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 0424572 commit 49f0b6cCopy full SHA for 49f0b6c
.github/workflows/release.yml
@@ -1,12 +1,9 @@
1
name: Release webdav4
2
3
on:
4
- push:
5
- branches:
6
- - main
7
release:
8
- types:
9
- - released
+ types: [published]
+ workflow_dispatch:
10
11
permissions: {}
12
@@ -16,6 +13,9 @@ env:
16
13
jobs:
17
14
build-and-publish:
18
15
timeout-minutes: 5
+ permissions:
+ contents: read
+ id-token: write
19
runs-on: ubuntu-latest
20
steps:
21
- uses: actions/checkout@v4
@@ -26,9 +26,6 @@ jobs:
26
with:
27
python-version: 3.8
28
29
- - run: pip install build
30
- - run: python -m build
31
-
32
- - name: Publish to PyPI
33
- if: github.event_name == 'release'
+ - run: pipx run build
+ - if: github.event_name == 'release'
34
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments