Skip to content

Commit 22b75b3

Browse files
v1.5.0
1 parent a27c987 commit 22b75b3

File tree

2 files changed

+25
-29
lines changed

2 files changed

+25
-29
lines changed

.github/workflows/build_for_desktop.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
jobs:
1212

13-
pyinstaller-windows-build:
13+
windows-build:
1414
runs-on: windows-latest
1515
steps:
1616
- name: Create Executable
@@ -31,7 +31,7 @@ jobs:
3131
path: ./dist/blog2epub_1.5.0_setup.exe
3232
compression-level: 0
3333

34-
pyinstaller-macos-build:
34+
macos-build:
3535
runs-on: macos-latest
3636
steps:
3737
- name: Create Executable
@@ -47,3 +47,26 @@ jobs:
4747
with:
4848
name: blog2epub_v1.5.0_macos.dmg
4949
path: ./dist/blog2epub_v1.5.0_macos.dmg
50+
51+
linux-build:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: Install dependencies
55+
run: |
56+
sudo apt-get install -y libsdl2-dev libmtdev-dev
57+
wget -O appimagetool-x86_64.AppImage https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
58+
chmod +x appimagetool-x86_64.AppImage
59+
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool-x86_64
60+
- name: Create Executable
61+
uses: sayyid5416/pyinstaller@v1
62+
with:
63+
python_ver: '3.12'
64+
spec: 'blog2epub_linux.spec'
65+
requirements: 'requirements.txt'
66+
upload_exe_with_name: blog2epub_v1.5.0_linux
67+
- name: Create installer
68+
run: bash ./make_linux_appimage.sh
69+
- uses: actions/upload-artifact@v4
70+
with:
71+
name: blog2epub_v1.5.0.AppImage
72+
path: ./dist/blog2epub_v1.5.0.AppImage

.github/workflows/build_for_linux.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)