Skip to content

Commit

Permalink
Fix the composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
LcJuves committed Aug 1, 2023
1 parent 0091cc5 commit 362b3dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeoss-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Check /build/ folder
run: yarn --cwd build compile && ./.github/workflows/check-clean-git-state.sh

- uses: ./.github/workflows/install-builtin-extensions.yml
- uses: ./.github/workflows/install-builtin-extensions
with:
cache-version: ${{ env.CACHE_VERSION }}

Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt
tar -cJf .build/node_modules_cache/cache.tar.xz --files-from .build/node_modules_list.txt
- uses: ./.github/workflows/install-builtin-extensions.yml
- uses: ./.github/workflows/install-builtin-extensions
with:
cache-version: ${{ env.CACHE_VERSION }}

Expand Down Expand Up @@ -609,7 +609,7 @@ jobs:
node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt
tar -cJf .build/node_modules_cache/cache.tar.xz --files-from .build/node_modules_list.txt
- uses: ./.github/workflows/install-builtin-extensions.yml
- uses: ./.github/workflows/install-builtin-extensions
with:
cache-version: ${{ env.CACHE_VERSION }}

Expand Down Expand Up @@ -857,7 +857,7 @@ jobs:
node build/azure-pipelines/common/listNodeModules.js .build/node_modules_list.txt
tar -cJf .build/node_modules_cache/cache.tar.xz --files-from .build/node_modules_list.txt
- uses: ./.github/workflows/install-builtin-extensions.yml
- uses: ./.github/workflows/install-builtin-extensions
with:
cache-version: ${{ env.CACHE_VERSION }}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Install Built-in Extensions"
description: "Install built-in extensions for CodeOSS CI"
inputs:
cache-version:
description: "The cache version"
Expand All @@ -12,10 +13,12 @@ runs:
steps:
- name: Create .build folder
run: mkdir -p .build
shell: bash

- 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"
shell: bash

- name: Restore built-in extensions cache
id: restore-built-in-extensions-cache
Expand All @@ -27,3 +30,4 @@ runs:
- name: Download built-in extensions
if: ${{ steps.restore-built-in-extensions-cache.outputs.cache-hit != 'true' }}
run: node build/lib/builtInExtensions.js
shell: bash

0 comments on commit 362b3dd

Please sign in to comment.