Skip to content

Commit 1b45c17

Browse files
Update build.yml
Updated to use node 18
1 parent c700051 commit 1b45c17

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ name: Build/release
33
on: push
44

55
jobs:
6-
release:
7-
runs-on: ${{ matrix.os }}
6+
release:
7+
runs-on: ${{ matrix.os }}
88

9-
strategy:
10-
matrix:
11-
os: [macos-latest, ubuntu-latest, windows-latest]
9+
strategy:
10+
matrix:
11+
os: [macos-latest, ubuntu-latest, windows-latest]
1212

13-
steps:
14-
- name: Check out Git repository
15-
uses: actions/checkout@v1
13+
steps:
14+
- name: Check out Git repository
15+
uses: actions/checkout@v1
1616

17-
- name: Install Node.js, NPM and Yarn
18-
uses: actions/setup-node@v1
19-
with:
20-
node-version: 10
17+
- name: Install Node.js, NPM and Yarn
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 18
2121

22-
- name: Build/release Electron app
23-
uses: samuelmeuli/action-electron-builder@v1
24-
with:
25-
# GitHub token, automatically provided to the action
26-
# (No need to define this secret in the repo settings)
27-
github_token: ${{ secrets.github_token }}
22+
- name: Build/release Electron app
23+
uses: samuelmeuli/action-electron-builder@v1
24+
with:
25+
# GitHub token, automatically provided to the action
26+
# (No need to define this secret in the repo settings)
27+
github_token: ${{ secrets.github_token }}
2828

29-
# If the commit is tagged with a version (e.g. "v1.0.0"),
30-
# release the app after building
31-
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
29+
# If the commit is tagged with a version (e.g. "v1.0.0"),
30+
# release the app after building
31+
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)