Skip to content

Commit 1ac594d

Browse files
committed
fix deprecated github action and adjust for new build enadjust for new build env
1 parent 9ca6dae commit 1ac594d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ jobs:
1212
- name: Install dependencies
1313
run: |
1414
sudo apt update -qq -y
15-
sudo apt install -qq -y build-essential fakeroot git python-all python3-cryptography python3-pip python3-stdeb python3-wheel twine dh-python
16-
sudo pip3 install --upgrade setuptools wheel
15+
sudo apt install -qq -y build-essential fakeroot git python3 python3-cryptography python3-pip python3-stdeb python3-wheel twine dh-python
1716
1817
- name: Prepare build process
1918
id: buildprep
@@ -37,7 +36,7 @@ jobs:
3736
sed "s@('readme'@('share/doc/python3-acertmgr'@" -i setup.py
3837
# Determine recommended dependencies for deb package
3938
echo "recommends3=$(echo "python3-pkg-resources")" >> $GITHUB_OUTPUT
40-
# Find optional dependencies to suggest in deb package
39+
# Find optional dependencies to suggest in deb package
4140
echo "suggests3=$(python3 -c "from setup import extra_requirements; print('\n'.join(['\n'.join(x) for x in extra_requirements.values()]))" | grep -v cryptography | sed 's/PyYAML/yaml/gi' | awk '{ printf("python3-%s, ",$1)};' | awk '{$1=$1; print}')" >> $GITHUB_OUTPUT
4241
4342
- name: Build debian package using setuptools and stdeb
@@ -73,7 +72,7 @@ jobs:
7372
cp -v deb_dist/*.deb artifacts/
7473
7574
- name: Upload build artifact
76-
uses: actions/upload-artifact@v1
75+
uses: actions/upload-artifact@v4
7776
with:
7877
name: ${{ format('acertmgr_build_{0}', steps.buildprep.outputs.version) }}
7978
path: artifacts

0 commit comments

Comments
 (0)