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 01f808c commit 0028866Copy full SHA for 0028866
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: Build and Publish to PyPI
2
+on:
3
+ release:
4
+ types: [published]
5
+jobs:
6
+ build-and-publish:
7
+ runs-on: ubuntu-latest
8
+ environment:
9
+ name: pypi
10
+ url: https://pypi.org/p/django-block-fragments
11
+ permissions:
12
+ id-token: write
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v5
18
+ - name: Setup Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version-file: "pyproject.toml"
22
+ - name: Build wheel and sdist
23
+ run: uv build
24
+ - name: Publish package distributions to PyPI
25
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments