Skip to content

Commit 6069f19

Browse files
authored
fix release.yml break by upgrading actions/github-script
1 parent eb20b91 commit 6069f19

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
with:
2121
github-token: ${{secrets.GITHUB_TOKEN}}
2222
script: |
23-
const core = require('@actions/core')
2423
const fs = require('fs');
2524
const runnerVersion = fs.readFileSync('${{ github.workspace }}/src/runnerversion', 'utf8').replace(/\n$/g, '')
2625
const releaseVersion = fs.readFileSync('${{ github.workspace }}/releaseVersion', 'utf8').replace(/\n$/g, '')
@@ -176,7 +175,6 @@ jobs:
176175
with:
177176
github-token: ${{secrets.GITHUB_TOKEN}}
178177
script: |
179-
const core = require('@actions/core')
180178
const fs = require('fs');
181179
const runnerVersion = fs.readFileSync('${{ github.workspace }}/src/runnerversion', 'utf8').replace(/\n$/g, '')
182180
var releaseNote = fs.readFileSync('${{ github.workspace }}/releaseNote.md', 'utf8').replace(/<RUNNER_VERSION>/g, runnerVersion)

0 commit comments

Comments
 (0)