Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -575,16 +575,28 @@ jobs:
cp -r app/desktop/build/compose/binaries/main-release/app/Ani/* AppDir/usr

cp app/desktop/appResources/linux-x64/AppRun AppDir/AppRun
cp app/desktop/appResources/linux-x64/animeko.desktop AppDir/animeko.desktop
cp app/desktop/appResources/linux-x64/org.openani.animeko.desktop AppDir/org.openani.animeko.desktop
cp app/desktop/appResources/linux-x64/icon.png AppDir/icon.png
cp -r app/desktop/appResources/linux-x64/share AppDir/usr/

# Fix permissions
chmod a+x AppDir/AppRun
chmod a+x AppDir/usr/bin/Ani
chmod a+x AppDir/usr/lib/runtime/lib/jcef_helper

# Get and export version
if [ "$GITHUB_REF_TYPE" = "tag" ]; then
export VERSION="${GITHUB_REF_NAME#v}"
else
export VERSION="${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}"
fi
echo VERSION: "$VERSION"

# Build AppImage
ARCH=x86_64 ./appimagetool-x86_64.AppImage AppDir

# Rename AppImage
mv Animeko*.AppImage Animeko-x86_64.AppImage
- id: 'step-51'
name: 'Upload Linux packages (Attempt #1)'
continue-on-error: true
Expand Down Expand Up @@ -1287,7 +1299,7 @@ jobs:
permissions:
actions: 'read'
needs:
- 'build_self-hosted-macos-15'
- 'build_self-hosted-macos-15'
if: '${{ (github.repository == ''open-ani/animeko'') && (needs.build_self-hosted-macos-15.result == ''success'') }}'
steps:
- id: 'step-0'
Expand Down Expand Up @@ -1338,7 +1350,7 @@ jobs:
permissions:
actions: 'read'
needs:
- 'build_self-hosted-macos-15'
- 'build_self-hosted-macos-15'
if: '${{ needs.build_self-hosted-macos-15.result == ''success'' }}'
steps:
- id: 'step-0'
Expand Down Expand Up @@ -1397,7 +1409,7 @@ jobs:
permissions:
actions: 'read'
needs:
- 'build_self-hosted-macos-15'
- 'build_self-hosted-macos-15'
if: '${{ needs.build_self-hosted-macos-15.result == ''success'' }}'
steps:
- id: 'step-0'
Expand Down
Loading
Loading