File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
node-version : 15.6.0
32
32
check-latest : true
33
- # - run: sleep 30
33
+ - name : Dump context
34
+ uses : crazy-max/ghaction-dump-context@v1
34
35
- run : echo "trying to download whalelint-${{ github.sha }} ${{ runner.os }} ..."
35
36
- name : Download WhaleLint binary
36
37
if : ${{ github.event.pr }} || ${{ github.event.pr_merge }}
Original file line number Diff line number Diff line change @@ -86,19 +86,11 @@ jobs:
86
86
steps :
87
87
- name : Dump context
88
88
uses : crazy-max/ghaction-dump-context@v1
89
- - name : push or pr
90
- id : event_type
91
- run : |
92
- if [[ "${{ github.event_name }}" == "push" ]]; then
93
- echo "::set-output name=ref::${{ github.ref }}"
94
- else
95
- echo "::set-output name=ref::refs/pull/${{ github.event.pull_request.number }}/merge"
96
- fi
97
89
- name : Trigger VSCode extension build workflow
98
90
uses : benc-uk/workflow-dispatch@v1
99
91
with :
100
92
workflow : build-vscode-extension
101
- ref : ${{ steps.event_type.outputs .ref }}
93
+ ref : ${{ github.head .ref }}
102
94
token : ${{ secrets.WHALELINT_WORKFLOW }}
103
95
inputs : ' { "event_type": "push_to_main", "debug": "true" }'
104
96
@@ -112,6 +104,6 @@ jobs:
112
104
uses : benc-uk/workflow-dispatch@v1
113
105
with :
114
106
workflow : build-jetbrains-plugin
115
- # ref: ${{ github.event.pull_request.head.ref }}
107
+ ref : ${{ github.event.pull_request.head.ref }}
116
108
token : ${{ secrets.WHALELINT_WORKFLOW }}
117
109
inputs : ' { "event_type": "push_to_main", "debug": "true" }'
You can’t perform that action at this time.
0 commit comments