Skip to content

Commit 3652573

Browse files
committed
a
1 parent 9dfe74c commit 3652573

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/doc-publish-pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030

3131
- name: Load PR number
3232
if: steps.download-artifacts.outputs.found_artifact == 'true'
33+
uses: actions/github-script@v7
3334
run: |
34-
echo "PR_NUM=$(<pr_num/pr_num)" >> $GITHUB_ENV
35+
let fs = require("fs");
36+
let pr_number = Number(fs.readFileSync("./pr_num/pr_num"))
37+
core.exportVariable("PR_NUM", pr_number);
3538
3639
- name: Check PR number
3740
if: steps.download-artifacts.outputs.found_artifact == 'true'

0 commit comments

Comments
 (0)