Skip to content

Commit 8124121

Browse files
committed
Grab hash from package.
1 parent 1eb8d0d commit 8124121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
# This saves a lot of time in CI, as compiling VSCode can take anywhere from 5-10 minutes.
134134
- name: Get latest vendor/modules/code-oss-dev rev
135135
id: vscode-rev
136-
run: echo "::set-output name=rev::$(cat vendor/modules/code-oss-dev/package.json | jq -r .version)"
136+
run: echo "::set-output name=rev::$(jq -r '.devDependencies["code-oss-dev"]' vendor/package.json | sed -r 's|.*#(.*)$|\1|')"
137137

138138
- name: Attempt to fetch vscode build from cache
139139
id: cache-vscode

0 commit comments

Comments
 (0)