mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 11:50:14 +10:00
ci: disable slow cache [skip ci]
This commit is contained in:
18
.github/workflows/stable-spearhead.yml
vendored
18
.github/workflows/stable-spearhead.yml
vendored
@@ -41,24 +41,6 @@ jobs:
|
|||||||
NEW_RELEASE: ${{ github.event.inputs.new_release }}
|
NEW_RELEASE: ${{ github.event.inputs.new_release }}
|
||||||
run: . check_tags.sh
|
run: . check_tags.sh
|
||||||
|
|
||||||
- name: Compute cache key
|
|
||||||
id: yarnCacheKey
|
|
||||||
run: echo "value=$(node build/azure-pipelines/computeYarnCacheKey.js)" >> $GITHUB_OUTPUT
|
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
|
||||||
|
|
||||||
- name: Get yarn cache directory path
|
|
||||||
id: yarnCacheDirPath
|
|
||||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
|
||||||
|
|
||||||
- name: Cache yarn directory
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ${{ steps.yarnCacheDirPath.outputs.dir }}
|
|
||||||
key: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir-${{ steps.yarnCacheKey.outputs.value }}
|
|
||||||
restore-keys: ${{ env.OS_NAME }}-${{ env.VSCODE_ARCH }}-yarnCacheDir-
|
|
||||||
if: env.SHOULD_BUILD == 'yes'
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user