File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 1414 - name : Build
1515 run : pnpm run build
1616
17- - run : pnpx pkg-pr-new publish --json output.json --compact --no-template
18- - name : Add metadata to output
19- uses : actions/github-script@v6
20- with :
21- github-token : ${{ secrets.GITHUB_TOKEN }}
22- script : |
23- const fs = require('fs');
24- const output = JSON.parse(fs.readFileSync('output.json', 'utf8'));
25- output.number = context.issue.number;
26- output.event_name = context.eventName;
27- output.ref = context.ref;
28- fs.writeFileSync('output.json', JSON.stringify(output), 'utf8');
29- - name : Upload output
30- uses : actions/upload-artifact@v4
31- with :
32- name : output
33- path : ./output.json
34-
35- - run : ls -R .
17+ - run : pnpx pkg-pr-new publish --compact
You can’t perform that action at this time.
0 commit comments