fix build issues

This commit is contained in:
Skyler Lehmkuhl 2026-06-02 13:23:30 -04:00
parent 45955dbbec
commit a36553ccbb
1 changed files with 11 additions and 11 deletions

View File

@ -14,7 +14,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- platform: ubuntu-22.04 - platform: ubuntu-24.04
target: '' target: ''
artifact-name: linux-x86_64 artifact-name: linux-x86_64
- platform: macos-latest - platform: macos-latest
@ -62,7 +62,7 @@ jobs:
# ── Linux dependencies ── # ── Linux dependencies ──
- name: Install dependencies (Linux) - name: Install dependencies (Linux)
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y \ sudo apt-get install -y \
@ -74,7 +74,7 @@ jobs:
libpulse-dev squashfs-tools dpkg rpm libpulse-dev squashfs-tools dpkg rpm
- name: Install cargo packaging tools (Linux) - name: Install cargo packaging tools (Linux)
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
uses: taiki-e/install-action@v2 uses: taiki-e/install-action@v2
with: with:
tool: cargo-deb,cargo-generate-rpm tool: cargo-deb,cargo-generate-rpm
@ -135,7 +135,7 @@ jobs:
rm -f lightningbeam-ui/lightningbeam-editor/assets/presets/README.md rm -f lightningbeam-ui/lightningbeam-editor/assets/presets/README.md
- name: Inject preset entries into RPM metadata (Linux) - name: Inject preset entries into RPM metadata (Linux)
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
shell: bash shell: bash
run: | run: |
cd lightningbeam-ui cd lightningbeam-ui
@ -190,7 +190,7 @@ jobs:
# Linux Packaging # Linux Packaging
# ══════════════════════════════════════════════ # ══════════════════════════════════════════════
- name: Build .deb package - name: Build .deb package
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
shell: bash shell: bash
run: | run: |
cd lightningbeam-ui cd lightningbeam-ui
@ -206,14 +206,14 @@ jobs:
rm -rf "$WORK" rm -rf "$WORK"
- name: Build .rpm package - name: Build .rpm package
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
shell: bash shell: bash
run: | run: |
cd lightningbeam-ui cd lightningbeam-ui
cargo generate-rpm -p lightningbeam-editor cargo generate-rpm -p lightningbeam-editor
- name: Build AppImage - name: Build AppImage
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
shell: bash shell: bash
run: | run: |
cd lightningbeam-ui cd lightningbeam-ui
@ -259,7 +259,7 @@ jobs:
chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage" chmod +x "Lightningbeam_Editor-${VERSION}-x86_64.AppImage"
- name: Upload .deb - name: Upload .deb
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: deb-package name: deb-package
@ -267,7 +267,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
- name: Upload .rpm - name: Upload .rpm
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: rpm-package name: rpm-package
@ -275,7 +275,7 @@ jobs:
if-no-files-found: error if-no-files-found: error
- name: Upload AppImage - name: Upload AppImage
if: matrix.platform == 'ubuntu-22.04' if: matrix.platform == 'ubuntu-24.04'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: appimage name: appimage
@ -380,7 +380,7 @@ jobs:
release: release:
needs: build needs: build
runs-on: ubuntu-22.04 runs-on: ubuntu-24.04
permissions: permissions:
contents: write contents: write
steps: steps: