Skip to content

Commit 9d0895f

Browse files
committed
chore: refine gh workflows for security and consistency
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent b2c5ee3 commit 9d0895f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pypi-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
PYPI_PROJECT_URL: "https://pypi.org/p/django-altcha"
11+
BUILD_VERSION: "1.4.0"
1112

1213
jobs:
1314
build-python-dist:
@@ -28,7 +29,7 @@ jobs:
2829
python-version: 3.14
2930

3031
- name: Install pypa/build
31-
run: python -m pip install build --user
32+
run: python -m pip install "build==${BUILD_VERSION}" --user
3233

3334
- name: Build a binary wheel and a source tarball
3435
run: python -m build --sdist --wheel --outdir dist/

0 commit comments

Comments
 (0)