Skip to content

Commit af5afc8

Browse files
committed
fix(ci): fix release job
py-gitguardian no longer has a `setup.py`: use `build` instead.
1 parent a7fae87 commit af5afc8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test-lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,9 @@ jobs:
125125
python-version: '3.x'
126126

127127
- name: Install dependencies
128-
run: python -m pip install --upgrade pip setuptools wheel
128+
run: python -m pip install --upgrade build
129129
- name: Build distribution
130-
run: >-
131-
python setup.py sdist bdist_wheel
130+
run: python -m build
132131

133132
- name: Publish distribution 📦 to PyPI
134133
uses: pypa/gh-action-pypi-publish@release/v1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Fixed
2+
3+
- Fix release CI job failure.

0 commit comments

Comments
 (0)