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:
54
54
archive_format: 'zip',
55
55
});
56
56
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 ) )
64
59
65
60
- name : Unzip PR info artifact
66
- run : unzip pr_info.zip -d "${{ runner.temp }}/artifacts"
61
+ run : unzip pr_info.zip
67
62
68
63
- name : " DEBUG: show dir layout"
69
- run : ls -aohR "${{ runner.temp }}/artifacts "
64
+ run : ls -aohR "${{ github.workspace }}"
70
65
71
66
- name : Read PR number
72
67
id : pr_number
73
68
shell : bash
74
69
run : |
75
- value=$(<"${{ runner.temp }}/artifacts /pr_number")
70
+ value=$(<"${{ github.workspace }}/pr /pr_number")
76
71
echo "PR_NR=$value" >> "$GITHUB_OUTPUT"
77
72
78
73
- name : Read Wiki artifact URL
79
74
id : artifact_url
80
75
shell : bash
81
76
run : |
82
- value=$(<"${{ runner.temp }}/artifacts /artifact_url")
77
+ value=$(<"${{ github.workspace }}/pr /artifact_url")
83
78
echo "URL=$value" >> "$GITHUB_OUTPUT"
84
79
85
80
- name : " DEBUG: show grabbed PR nr"
You can’t perform that action at this time.
0 commit comments