Skip to content

Commit

Permalink
Update manual.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Iseink committed Apr 10, 2024
1 parent ffe4a0e commit 9ac2071
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,23 @@ jobs:

- run: flutter pub get

# - name: Build Linux-x64
# - name: Build Linux-arm64

- run: sudo apt-get update -y
- run: sudo apt-get install -y libmpv-dev mpv clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
- run: flutter build linux --release --target-platform linux-x64
- run: apt-cache search aarch64
- run: sudo apt-get install -y libmpv-dev mpv gcc-11-aarch64-linux-gnu clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libunwind-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
- run: flutter build linux --release --target-platform linux-arm64
- run: rm -rf AppDir || true
- run: cp -r build/linux/x64/release/bundle AppDir
- run: wget -O appimage-builder-x86_64.AppImage https://github.com/AppImageCrafters/appimage-builder/releases/download/v1.1.0/appimage-builder-1.1.0-x86_64.AppImage
- run: chmod +x appimage-builder-x86_64.AppImage
- run: sudo mv appimage-builder-x86_64.AppImage /usr/local/bin/appimage-builder
- run: ls -lh
- run: appimage-builder --recipe AppImageBuilder.yml
- run: cp -r build/linux/arm64/release/bundle AppDir
- run: wget -O appimagetool-x86_64.AppImage https://mirror.ghproxy.com/https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
- run: chmod +x appimagetool-x86_64.AppImage
- run: sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
# - run: bash ./scripts/build_linux_appimage.sh
- run: rm -rf scripts/bili_you.AppDir/opt/
- run: cp -r build/linux/arm64/release/bundle/ scripts/bili_you.AppDir/opt/
- run: appimagetool scripts/bili_you.AppDir build/BiliYou-arm64.AppImage
- run: rm -rf scripts/bili_you.AppDir/opt/
- run: rm scripts/bili_you.AppDir/.DirIcon

# - run: tar -cvf bili_you.tar AppDir
# - run: wget -O BiliYou-x86_64.AppImage https://github.com/lucinhu/bili_you/releases/download/v1.1.5%2B15/BiliYou-x86_64.AppImage
Expand All @@ -68,10 +74,10 @@ jobs:
if: ${{ env.PACKAGED_STATUS }} == 'success' && !cancelled()
with:
tag: v1.1.5
artifacts: "*.AppImage"
artifacts: "build/BiliYou-arm64.AppImage"
allowUpdates: true
removeArtifacts: false
replacesArtifacts: true
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Test
test

0 comments on commit 9ac2071

Please sign in to comment.