File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -54,32 +54,27 @@ jobs:
5454 archive_format: 'zip',
5555 });
5656
57- const fs = require('fs');
58- const path = require('path');
59- const temp = '${{ runner.temp }}/artifacts';
60- if (!fs.existsSync(temp)){
61- fs.mkdirSync(temp);
62- }
63- fs.writeFileSync(path.join(temp, 'pr_info.zip'), Buffer.from(download.data));
57+ const fs = require( 'fs' );
58+ fs.writeFileSync( '${{ github.workspace }}/pr_info.zip', Buffer.from( download.data ) )
6459
6560 - name : Unzip PR info artifact
66- run : unzip pr_info.zip -d "${{ runner.temp }}/artifacts"
61+ run : unzip pr_info.zip
6762
6863 - name : " DEBUG: show dir layout"
69- run : ls -aohR "${{ runner.temp }}/artifacts "
64+ run : ls -aohR "${{ github.workspace }}"
7065
7166 - name : Read PR number
7267 id : pr_number
7368 shell : bash
7469 run : |
75- value=$(<"${{ runner.temp }}/artifacts /pr_number")
70+ value=$(<"${{ github.workspace }}/pr /pr_number")
7671 echo "PR_NR=$value" >> "$GITHUB_OUTPUT"
7772
7873 - name : Read Wiki artifact URL
7974 id : artifact_url
8075 shell : bash
8176 run : |
82- value=$(<"${{ runner.temp }}/artifacts /artifact_url")
77+ value=$(<"${{ github.workspace }}/pr /artifact_url")
8378 echo "URL=$value" >> "$GITHUB_OUTPUT"
8479
8580 - name : " DEBUG: show grabbed PR nr"
You can’t perform that action at this time.
0 commit comments