Skip to content

Commit

Permalink
v-1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mIcHyAmRaNe committed Jul 25, 2024
1 parent 7d12067 commit 2c29e4a
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2c29e4a

Please sign in to comment.