mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 09:56:23 +01:00
Convert X64 release AppImage to static runtime
This commit is contained in:
parent
c30b97e55b
commit
3e152a96dc
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -73,6 +73,19 @@ jobs:
|
||||
if: contains(matrix.runtime, 'arm64')
|
||||
run: yarn run build:arm64
|
||||
|
||||
- name: Convert X64 AppImage to static runtime
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
||||
run: |
|
||||
sudo apt install desktop-file-utils
|
||||
cd build
|
||||
appimage="FreeTube-${{ steps.versionNumber.outputs.result }}.AppImage"
|
||||
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" -O ./appimagetool.AppImage
|
||||
chmod +x ./"$appimage" ./appimagetool.AppImage
|
||||
./"$appimage" --appimage-extract && rm -f ./"$appimage"
|
||||
./appimagetool.AppImage --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 20 \
|
||||
-n ./squashfs-root ./"$appimage"
|
||||
rm -rf ./squashfs-root ./appimagetool.AppImage
|
||||
|
||||
- name: Upload AppImage x64 Release
|
||||
uses: actions/upload-release-asset@v1
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
|
||||
|
Loading…
Reference in New Issue
Block a user