From 2c29e4aac3df11e0e90aaffbed14b427840d43ec Mon Sep 17 00:00:00 2001 From: michyamrane Date: Thu, 25 Jul 2024 15:46:54 +0200 Subject: [PATCH] v-1.1.1 --- .github/workflows/build-debian.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-debian.yml b/.github/workflows/build-debian.yml index fc73f76..f83fa8e 100644 --- a/.github/workflows/build-debian.yml +++ b/.github/workflows/build-debian.yml @@ -20,38 +20,39 @@ jobs: - name: Install build dependencies run: | + export PYTHON=python3 python3 -V curl -sSL https://install.python-poetry.org | python3 - export PATH=$HOME/.local/bin:$PATH sudo apt-get update sudo apt-get install -y build-essential debhelper dh-python python3-all pybuild-plugin-pyproject + - name: Clean before build + run: | + fakeroot debian/rules clean + - name: Prepare orig.tar.gz run: | cd .. tar czf okadminfinder_${{ github.ref_name }}.orig.tar.gz okadminfinder ls -ll - - name: Clean before build - run: | - fakeroot debian/rules clean - - name: Build Debian package run: | - export PYTHON=python3 dpkg-buildpackage -rfakeroot -uc -us - - name: Move Debian package to working directory + - name: Copy Debian package to working directory run: | - mv ../*.deb . + mkdir builds + cp ../okadminfinder_* builds/ - - name: List files in working directory + - name: List files in builds directory run: | - ls -ll # Verify files are present + ls -ll builds/ # Verify files are present - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | - okadminfinder_${{ github.ref_name }}-1_all.deb + builds/okadminfinder_${{ github.ref_name }}-1_all.deb