File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,26 +69,20 @@ jobs:
6969 platforms : linux/amd64,linux/arm64
7070
7171 build-and-publish-deb :
72- runs-on : ubuntu-22.04
72+ runs-on : ubuntu-latest
7373 needs : test
7474 if : startsWith(github.ref, 'refs/tags/v')
7575 steps :
7676 - name : Checkout repository
7777 uses : actions/checkout@v6
7878
79- - name : Set up Python
80- uses : actions/setup-python@v6
81- with :
82- python-version : ' 3.12'
83-
84- - name : Install build dependencies
79+ - name : Build deb in container
8580 run : |
86- sudo apt-get update -qq
87- sudo apt-get install -y dh-python python3-all debhelper build-essential fakeroot
88- pip install setuptools stdeb
89-
90- - name : Build deb
91- run : make deb
81+ docker run --rm -v $(pwd):/workspace -w /workspace ubuntu:22.04 bash -c "
82+ apt-get update -qq && apt-get install -y python3 python3-pip dh-python python3-all debhelper build-essential fakeroot make
83+ pip install setuptools stdeb
84+ make deb
85+ "
9286
9387 - name : Upload deb to GitHub Release
9488 uses : softprops/action-gh-release@v3
You can’t perform that action at this time.
0 commit comments