From 36dc4d656c9759b22ecab63a8d57dbda95ae4e8e Mon Sep 17 00:00:00 2001 From: Angelo Verlain Date: Tue, 3 Sep 2024 19:37:43 +0200 Subject: [PATCH] ci: use node20 --- .github/workflows/build.yml | 3 ++- build-aux/flatpak/com.vixalien.sticky.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa2d95b..b5b7118 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,8 @@ jobs: platforms: arm64 - name: Prepare Runtime run: | - flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/23.08 + flatpak --system remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo + flatpak --system install -y --noninteractive flathub-beta org.freedesktop.Sdk.Extension.node20/${{ matrix.arch }}/24.08beta - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 with: bundle: com.vixalien.sticky.flatpak diff --git a/build-aux/flatpak/com.vixalien.sticky.json b/build-aux/flatpak/com.vixalien.sticky.json index b20d198..ca55dac 100644 --- a/build-aux/flatpak/com.vixalien.sticky.json +++ b/build-aux/flatpak/com.vixalien.sticky.json @@ -4,13 +4,13 @@ "runtime-version": "master", "sdk": "org.gnome.Sdk", "sdk-extensions": [ - "org.freedesktop.Sdk.Extension.node18" + "org.freedesktop.Sdk.Extension.node20" ], "tags": [ "nightly" ], "build-options": { - "append-path": "/usr/lib/sdk/node18/bin" + "append-path": "/usr/lib/sdk/node20/bin" }, "command": "com.vixalien.sticky", "finish-args": [ @@ -37,7 +37,7 @@ "name": "yarn-deps", "buildsystem": "simple", "build-commands": [ - "/usr/lib/sdk/node18/enable.sh", + "/usr/lib/sdk/node20/enable.sh", "mkdir -p /app", "cp -r $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror/ /app" ],