Skip to content

Commit 36dc4d6

Browse files
committed
ci: use node20
1 parent b2b170f commit 36dc4d6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
platforms: arm64
3131
- name: Prepare Runtime
3232
run: |
33-
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/23.08
33+
flatpak --system remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
34+
flatpak --system install -y --noninteractive flathub-beta org.freedesktop.Sdk.Extension.node20/${{ matrix.arch }}/24.08beta
3435
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
3536
with:
3637
bundle: com.vixalien.sticky.flatpak

build-aux/flatpak/com.vixalien.sticky.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"runtime-version": "master",
55
"sdk": "org.gnome.Sdk",
66
"sdk-extensions": [
7-
"org.freedesktop.Sdk.Extension.node18"
7+
"org.freedesktop.Sdk.Extension.node20"
88
],
99
"tags": [
1010
"nightly"
1111
],
1212
"build-options": {
13-
"append-path": "/usr/lib/sdk/node18/bin"
13+
"append-path": "/usr/lib/sdk/node20/bin"
1414
},
1515
"command": "com.vixalien.sticky",
1616
"finish-args": [
@@ -37,7 +37,7 @@
3737
"name": "yarn-deps",
3838
"buildsystem": "simple",
3939
"build-commands": [
40-
"/usr/lib/sdk/node18/enable.sh",
40+
"/usr/lib/sdk/node20/enable.sh",
4141
"mkdir -p /app",
4242
"cp -r $FLATPAK_BUILDER_BUILDDIR/flatpak-node/yarn-mirror/ /app"
4343
],

0 commit comments

Comments
 (0)