Skip to content

Commit

Permalink
Try to fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
LcJuves committed Aug 1, 2023
1 parent 13305e2 commit 9ea91fd
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/install-builtin-extensions.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
runs:
using: "node16"
# runs:
# using: "node16"

steps:
- name: Create .build folder
run: mkdir -p .build
steps:
- uses: actions/checkout@v2
- name: Create .build folder
run: mkdir -p .build

- name: Prepare built-in extensions cache key
id: prepare-built-in-extensions-cache-key
run: echo "key=$(node build/azure-pipelines/common/computeBuiltInDepsCacheKey.js)" >>"$GITHUB_OUTPUT"
- name: Prepare built-in extensions cache key
id: prepare-built-in-extensions-cache-key
run: echo "key=$(node build/azure-pipelines/common/computeBuiltInDepsCacheKey.js)" >>"$GITHUB_OUTPUT"

- name: Restore built-in extensions cache
id: restore-built-in-extensions-cache
uses: actions/cache@v2
with:
path: ".build/builtInExtensions"
key: "builtin-extensions${{ steps.prepare-built-in-extensions-cache-key.outputs.key }}${{ env.CACHE_VERSION }}"
- name: Restore built-in extensions cache
id: restore-built-in-extensions-cache
uses: actions/cache@v2
with:
path: ".build/builtInExtensions"
key: "builtin-extensions${{ steps.prepare-built-in-extensions-cache-key.outputs.key }}${{ env.CACHE_VERSION }}"

- name: Download built-in extensions
if: ${{ steps.restore-built-in-extensions-cache.outputs.cache-hit != 'true' }}
run: node build/lib/builtInExtensions.js
- name: Download built-in extensions
if: ${{ steps.restore-built-in-extensions-cache.outputs.cache-hit != 'true' }}
run: node build/lib/builtInExtensions.js

0 comments on commit 9ea91fd

Please sign in to comment.