3 Commits

Author SHA1 Message Date
kdusek
c2473ad714 Use tag version for deb package
Some checks failed
build / build-linux (push) Successful in 16s
release / build-deb (push) Successful in 48s
release / release (push) Failing after 8s
2025-12-07 23:30:43 +01:00
kdusek
56bebb4be7 Specify artifact name in download
Some checks failed
build / build-linux (push) Successful in 16s
release / build-deb (push) Successful in 1m29s
release / release (push) Failing after 8s
2025-12-07 23:27:13 +01:00
kdusek
e9bcac4f04 Install Ruby before fpm in CI
Some checks failed
build / build-linux (push) Successful in 16s
release / build-deb (push) Successful in 1m29s
release / release (push) Failing after 17s
2025-12-07 23:23:07 +01:00

View File

@@ -28,8 +28,11 @@ jobs:
ls -la /lib/x86_64-linux-gnu/libpython* 2>/dev/null || echo "Not found in /lib" ls -la /lib/x86_64-linux-gnu/libpython* 2>/dev/null || echo "Not found in /lib"
- name: Build binary - name: Build binary
run: pyinstaller gotify-tray.spec run: pyinstaller gotify-tray.spec
- name: Install fpm - name: Install Ruby and fpm
run: gem install fpm run: |
sudo apt-get update
sudo apt-get install -y ruby-full
gem install fpm
- name: Build Debian package - name: Build Debian package
run: | run: |
mkdir -p build/linux/opt mkdir -p build/linux/opt
@@ -52,7 +55,7 @@ jobs:
-m k.dries@protonmail.com \ -m k.dries@protonmail.com \
--description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \ --description "Gotify Tray. A tray notification application for receiving messages from a Gotify server." \
--category internet \ --category internet \
--version "$(cat version.txt)" \ --version "${{github.ref_name#v}}" \
--license GPLv3 --license GPLv3
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
@@ -66,6 +69,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with:
name: gotify-tray_${{github.ref_name}}_amd64.deb
- name: Release - name: Release
uses: marvinpinto/action-automatic-releases@latest uses: marvinpinto/action-automatic-releases@latest
with: with: