From b51b75dbcbb2066e9507275991ce6a982912e9e6 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:57:29 +0100 Subject: [PATCH 1/3] FIX: Build Make sure runners run on a specific node version --- .github/workflows/electron.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/electron.yaml b/.github/workflows/electron.yaml index dc8e18e1e..dada91cd9 100644 --- a/.github/workflows/electron.yaml +++ b/.github/workflows/electron.yaml @@ -15,6 +15,11 @@ jobs: - name: Check out Git repository uses: actions/checkout@v3 + - name: Ensure Node Version + uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Set Version from package.json id: variables run: | From 55afe998948fb40a756245d7284151a7602a0291 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:15:17 +0100 Subject: [PATCH 2/3] Update electron.yaml --- .github/workflows/electron.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/electron.yaml b/.github/workflows/electron.yaml index dada91cd9..ea0b14f32 100644 --- a/.github/workflows/electron.yaml +++ b/.github/workflows/electron.yaml @@ -61,6 +61,10 @@ jobs: - name: macOS build args if: matrix.os == 'macos-latest' run: echo "BUILD_ARGS=--universal" >> $GITHUB_ENV + + - name: install dep + run: | + cd launcher && npm i - name: Build Electron app uses: samuelmeuli/action-electron-builder@v1 From 68f3f57547ecc79021f6928cb8cdcaa4da30b1e7 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:13:14 +0100 Subject: [PATCH 3/3] rename task --- .github/workflows/electron.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/electron.yaml b/.github/workflows/electron.yaml index ea0b14f32..3a3d52112 100644 --- a/.github/workflows/electron.yaml +++ b/.github/workflows/electron.yaml @@ -62,7 +62,7 @@ jobs: if: matrix.os == 'macos-latest' run: echo "BUILD_ARGS=--universal" >> $GITHUB_ENV - - name: install dep + - name: Install Dependencies run: | cd launcher && npm i