Skip to content

Commit

Permalink
Merge pull request #2 from reMarkable/nikolaik/node20-fixes
Browse files Browse the repository at this point in the history
chore: Keep running with node v20
  • Loading branch information
nikolaik authored May 6, 2024
2 parents 8b29707 + 72a1aac commit 3f8c941
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
strategy:
matrix:
image: [ 'windows-latest', 'ubuntu-latest', 'macos-latest' ]
version: [ '1.9.0', '1.10.2' ]
version: [ '1.9.0', '1.10.2', '1.11.1' ]

steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: ./
with:
version: '${{ matrix.version }}'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supports Windows, Linux, and macOS.

Inputs:

- `version`: Version of ninja to install (default: 1.10.2)
- `version`: Version of ninja to install (default: 1.11.1)
- `platform`: Override platform detection logic
- `destination`: Target directory for download, added to `PATH`
(default: `${GITHUB_WORKSPACE}/ninja-build`)
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ inputs:
description: 'Proxy server'
required: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ const URL = __webpack_require__(835).URL
const { https } = __webpack_require__(549)
const AdmZip = __webpack_require__(639)
const HttpsProxyAgent = __webpack_require__(338)
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';

const selectPlatforn = (platform) =>
platform ? [null, platform] :
Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const URL = require('url').URL
const { https } = require('follow-redirects')
const AdmZip = require('adm-zip')
const HttpsProxyAgent = require('https-proxy-agent')
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';

const selectPlatforn = (platform) =>
platform ? [null, platform] :
Expand Down

0 comments on commit 3f8c941

Please sign in to comment.