File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches : [ master ]
8
8
9
+ env :
10
+ commit_sha : ${{ github.event.pull_request.head.sha || github.sha }}
11
+
9
12
jobs :
10
13
test :
11
14
strategy :
@@ -121,14 +124,10 @@ jobs:
121
124
run : rm binary.tar
122
125
working-directory : ./server/analysis_binaries
123
126
124
- - name : Store short commit SHA for filename
125
- id : vars
126
- run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
127
-
128
127
- name : Package Extension
129
- run : npx vsce package -o rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
128
+ run : npx vsce package -o rescript-vscode-${{ env.commit_sha }}.vsix
130
129
131
130
- uses : actions/upload-artifact@v2
132
131
with :
133
- name : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
134
- path : rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
132
+ name : rescript-vscode-${{ env.commit_sha }}.vsix
133
+ path : rescript-vscode-${{ env.commit_sha }}.vsix
You can’t perform that action at this time.
0 commit comments