We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14478ca commit e1389faCopy full SHA for e1389fa
.github/workflows/doc-publish-pr.yml
@@ -30,8 +30,12 @@ jobs:
30
31
- name: Load PR number
32
if: steps.download-artifacts.outputs.found_artifact == 'true'
33
- run: |
34
- echo "PR_NUM=$(<pr_num/pr_num)" >> $GITHUB_ENV
+ uses: actions/github-script@v7
+ with:
35
+ script: |
36
+ let fs = require("fs");
37
+ let pr_number = Number(fs.readFileSync("./pr_num/pr_num"));
38
+ core.exportVariable("PR_NUM", pr_number);
39
40
- name: Check PR number
41
0 commit comments