File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ name: Bundle
33on :
44 release :
55 types :
6- - published
76 - created
7+ - published
88 - prereleased
99 - released
1010
1111jobs :
12- release :
12+ bundle :
1313 # Prevents changesets action from creating a PR on forks
1414 if : github.repository == 'patternfly/patternfly-elements'
1515 runs-on : ubuntu-latest
@@ -23,13 +23,18 @@ jobs:
2323 - name : Install packages
2424 run : npm i --prefer-offline
2525
26+ - name : Dump GitHub Context
27+ env :
28+ GITHUB_CONTEXT : ${{ toJson(github) }}
29+ run : echo "$GITHUB_CONTEXT"
30+
2631 - name : Bundle
2732 id : bundle
2833 if : ${{ steps.changesets.outputs.published }}
2934 uses : actions/github-script@v6
3035 with :
3136 github-token : ${{secrets.GITHUB_TOKEN}}
3237 script : |
33- console.log(context.payload.action) ;
38+ const workspace = '${{ github.workspace }}' ;
3439 const bundle = require('./scripts/bundle-release.cjs');
35- await bundle({ context, github, glob, workspace: '${{ github.workspace }}' });
40+ await bundle({ context, github, glob, workspace });
You can’t perform that action at this time.
0 commit comments