Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit 165810d

Browse files
Update runtime to node20. (#27)
* Update runtime to node20. * Remove unused variable.
1 parent 8b29707 commit 165810d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@master
21-
- uses: actions/setup-node@v1
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
2224
- uses: ./
2325
with:
2426
version: '${{ matrix.version }}'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ inputs:
1919
description: 'Proxy server'
2020
required: false
2121
runs:
22-
using: 'node16'
22+
using: 'node20'
2323
main: 'dist/index.js'

dist/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ const URL = __webpack_require__(835).URL
335335
const { https } = __webpack_require__(549)
336336
const AdmZip = __webpack_require__(639)
337337
const HttpsProxyAgent = __webpack_require__(338)
338-
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
339338

340339
const selectPlatforn = (platform) =>
341340
platform ? [null, platform] :

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const URL = require('url').URL
77
const { https } = require('follow-redirects')
88
const AdmZip = require('adm-zip')
99
const HttpsProxyAgent = require('https-proxy-agent')
10-
var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
1110

1211
const selectPlatforn = (platform) =>
1312
platform ? [null, platform] :

0 commit comments

Comments
 (0)