fix build assets
This commit is contained in:
parent
543d99e5d5
commit
2b63fdd2c5
|
|
@ -258,14 +258,29 @@ jobs:
|
||||||
> "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
> "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
||||||
chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
|
||||||
|
|
||||||
- name: Collect Linux artifacts
|
- name: Upload .deb
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
shell: bash
|
uses: actions/upload-artifact@v4
|
||||||
run: |
|
with:
|
||||||
mkdir -p artifacts
|
name: deb-package
|
||||||
cp lightningbeam-ui/target/debian/*.deb artifacts/
|
path: lightningbeam-ui/target/debian/*.deb
|
||||||
cp lightningbeam-ui/target/generate-rpm/*.rpm artifacts/
|
if-no-files-found: error
|
||||||
cp lightningbeam-ui/Lightningbeam_Editor-*.AppImage artifacts/
|
|
||||||
|
- name: Upload .rpm
|
||||||
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: rpm-package
|
||||||
|
path: lightningbeam-ui/target/generate-rpm/*.rpm
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload AppImage
|
||||||
|
if: matrix.platform == 'ubuntu-22.04'
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: appimage
|
||||||
|
path: lightningbeam-ui/Lightningbeam_Editor-*.AppImage
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
# ══════════════════════════════════════════════
|
# ══════════════════════════════════════════════
|
||||||
# macOS Packaging
|
# macOS Packaging
|
||||||
|
|
@ -331,12 +346,13 @@ jobs:
|
||||||
"Lightningbeam Editor.app" || true
|
"Lightningbeam Editor.app" || true
|
||||||
# create-dmg returns non-zero if codesigning is skipped, but the .dmg is still valid
|
# create-dmg returns non-zero if codesigning is skipped, but the .dmg is still valid
|
||||||
|
|
||||||
- name: Collect macOS artifacts
|
- name: Upload .dmg
|
||||||
if: startsWith(matrix.platform, 'macos')
|
if: startsWith(matrix.platform, 'macos')
|
||||||
shell: bash
|
uses: actions/upload-artifact@v4
|
||||||
run: |
|
with:
|
||||||
mkdir -p artifacts
|
name: dmg-${{ matrix.artifact-name }}
|
||||||
cp Lightningbeam_Editor-*.dmg artifacts/
|
path: Lightningbeam_Editor-*.dmg
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
# ══════════════════════════════════════════════
|
# ══════════════════════════════════════════════
|
||||||
# Windows Packaging
|
# Windows Packaging
|
||||||
|
|
@ -354,19 +370,12 @@ jobs:
|
||||||
Copy-Item "$env:FFMPEG_DIR\bin\*.dll" "$DIST/"
|
Copy-Item "$env:FFMPEG_DIR\bin\*.dll" "$DIST/"
|
||||||
Compress-Archive -Path $DIST -DestinationPath "${DIST}.zip"
|
Compress-Archive -Path $DIST -DestinationPath "${DIST}.zip"
|
||||||
|
|
||||||
- name: Collect Windows artifacts
|
- name: Upload .zip
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
shell: pwsh
|
|
||||||
run: |
|
|
||||||
New-Item -ItemType Directory -Force -Path artifacts
|
|
||||||
Copy-Item "Lightningbeam_Editor-*.zip" "artifacts/"
|
|
||||||
|
|
||||||
# ── Upload ──
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact-name }}
|
name: windows-zip
|
||||||
path: artifacts/*
|
path: Lightningbeam_Editor-*.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue