teddybear082 commited on
Commit ·
5ab3b16
1
Parent(s): 5f2b440
Revert "update build app image file to include .desktop"
Browse files
.github/workflows/build-appimage.yaml
CHANGED
|
@@ -84,34 +84,19 @@ jobs:
|
|
| 84 |
--desktop-file AppDir/usr/share/applications/PocketTTS-Server.desktop \
|
| 85 |
--icon-file AppDir/usr/share/icons/hicolor/512x512/apps/PocketTTS-Server.png \
|
| 86 |
--output appimage
|
| 87 |
-
|
| 88 |
-
# Make app image release
|
| 89 |
-
mkdir -p PocketTTS-Server-Linux
|
| 90 |
-
cp PocketTTS-Server-x86_64.AppImage PocketTTS-Server-Linux/
|
| 91 |
-
cp PocketTTS-Server.desktop PocketTTS-Server-Linux/
|
| 92 |
-
cp dist/PocketTTS-Server.png PocketTTS-Server-Linux/
|
| 93 |
-
|
| 94 |
-
sed -i 's/Exec=pocket-tts-server/Exec=PocketTTS-Server-x86_64.AppImage/' PocketTTS-Server-Linux/PocketTTS-Server.desktop
|
| 95 |
-
sed -i 's/Icon=PocketTTS-Server/Icon=PocketTTS-Server.png/' PocketTTS-Server-Linux/PocketTTS-Server.desktop
|
| 96 |
-
|
| 97 |
-
zip -r PocketTTS-Server-Linux-x64.zip PocketTTS-Server-Linux
|
| 98 |
|
| 99 |
- name: Upload artifact
|
| 100 |
uses: actions/upload-artifact@v4
|
| 101 |
with:
|
| 102 |
name: PocketTTS-Server-Linux
|
| 103 |
-
path:
|
| 104 |
-
*.AppImage
|
| 105 |
-
*.zip
|
| 106 |
retention-days: 30
|
| 107 |
|
| 108 |
- name: Create GitHub Release
|
| 109 |
if: startsWith(github.ref, 'refs/tags/')
|
| 110 |
uses: softprops/action-gh-release@v1
|
| 111 |
with:
|
| 112 |
-
files:
|
| 113 |
-
*.AppImage
|
| 114 |
-
*.zip
|
| 115 |
draft: false
|
| 116 |
prerelease: false
|
| 117 |
generate_release_notes: true
|
|
|
|
| 84 |
--desktop-file AppDir/usr/share/applications/PocketTTS-Server.desktop \
|
| 85 |
--icon-file AppDir/usr/share/icons/hicolor/512x512/apps/PocketTTS-Server.png \
|
| 86 |
--output appimage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
- name: Upload artifact
|
| 89 |
uses: actions/upload-artifact@v4
|
| 90 |
with:
|
| 91 |
name: PocketTTS-Server-Linux
|
| 92 |
+
path: "*.AppImage"
|
|
|
|
|
|
|
| 93 |
retention-days: 30
|
| 94 |
|
| 95 |
- name: Create GitHub Release
|
| 96 |
if: startsWith(github.ref, 'refs/tags/')
|
| 97 |
uses: softprops/action-gh-release@v1
|
| 98 |
with:
|
| 99 |
+
files: "*.AppImage"
|
|
|
|
|
|
|
| 100 |
draft: false
|
| 101 |
prerelease: false
|
| 102 |
generate_release_notes: true
|