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.
2 parents 7e971a5 + caecacc commit 5440c05Copy full SHA for 5440c05
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+name: "Publish to PyPI"
2
+on:
3
+ release:
4
+ types: [published]
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-22.04
10
+ environment:
11
+ name: release
12
+ url: https://pypi.org/project/atwiki-python/
13
+ permissions:
14
+ id-token: write
15
+ steps:
16
+ - name: Git Checkout
17
+ uses: actions/checkout@v3
18
+ - name: Setup Python
19
+ uses: actions/setup-python@v4
20
+ with:
21
+ python-version: '3.11'
22
+ - name: Install Dependencies
23
+ run: python3 -m pip install build --user
24
+ - name: Build Packages
25
+ run: python3 -m build --sdist --wheel --outdir dist/ .
26
+ - name: Publish to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments