Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ jobs:

- name: Store short commit SHA for filename
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
env:
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
run: echo "::set-output name=sha_short::${COMMIT_SHA:0:7}"

- name: Package Extension
run: npx vsce package -o rescript-vscode-${{ steps.vars.outputs.sha_short }}.vsix
Expand Down