We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5978a8d commit 9fe9e91Copy full SHA for 9fe9e91
.github/workflows/ci.yml
@@ -123,7 +123,9 @@ jobs:
123
124
- name: Store short commit SHA for filename
125
id: vars
126
- run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
+ env:
127
+ COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
128
+ run: echo "::set-output name=sha_short::${COMMIT_SHA:0:7}"
129
130
- name: Package Extension
131
run: npx vsce package -o rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
0 commit comments