Disable sccache in github actions

This commit is contained in:
Jamie Kyle
2025-04-08 12:29:45 -07:00
committed by GitHub
parent ef7d84b98a
commit 06f1832f35
4 changed files with 83 additions and 83 deletions

View File

@@ -27,14 +27,14 @@ jobs:
- name: Clone Desktop repo - name: Clone Desktop repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
id: cache-sccache # id: cache-sccache
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4 uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
@@ -55,9 +55,9 @@ jobs:
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- name: Build typescript - name: Build typescript

View File

@@ -33,13 +33,13 @@ jobs:
path: ~/.electron-gyp path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Restore cached .eslintcache and tsconfig.tsbuildinfo - name: Restore cached .eslintcache and tsconfig.tsbuildinfo
uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 uses: actions/cache/restore@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
@@ -53,9 +53,9 @@ jobs:
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: pnpm run generate - run: pnpm run generate
@@ -102,20 +102,20 @@ jobs:
path: ~/.electron-gyp path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache clang # CC: sccache clang
CXX: sccache clang++ # CXX: sccache clang++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: pnpm run generate - run: pnpm run generate
@@ -129,9 +129,9 @@ jobs:
- run: touch noop.sh && chmod +x noop.sh - run: touch noop.sh && chmod +x noop.sh
- run: pnpm run build - run: pnpm run build
env: env:
CC: sccache clang # CC: sccache clang
CXX: sccache clang++ # CXX: sccache clang++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
DISABLE_INSPECT_FUSE: on DISABLE_INSPECT_FUSE: on
SIGN_MACOS_SCRIPT: noop.sh SIGN_MACOS_SCRIPT: noop.sh
ARTIFACTS_DIR: artifacts/macos ARTIFACTS_DIR: artifacts/macos
@@ -175,24 +175,24 @@ jobs:
with: with:
path: ~/.electron-gyp path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install xvfb and libpulse0 - name: Install xvfb and libpulse0
run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0) run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0)
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: pnpm run generate - run: pnpm run generate
@@ -209,17 +209,17 @@ jobs:
run: pnpm run build:release --publish=never run: pnpm run build:release --publish=never
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
DISABLE_INSPECT_FUSE: on DISABLE_INSPECT_FUSE: on
- name: Build without packaging .deb file - name: Build without packaging .deb file
run: pnpm run build:release --linux dir run: pnpm run build:release --linux dir
if: github.ref != 'refs/heads/main' if: github.ref != 'refs/heads/main'
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
DISABLE_INSPECT_FUSE: on DISABLE_INSPECT_FUSE: on
- name: Upload installer size - name: Upload installer size
@@ -400,20 +400,20 @@ jobs:
- name: Install xvfb and libpulse0 - name: Install xvfb and libpulse0
run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0) run: sudo apt-get install xvfb libpulse0 || (sudo apt-get update && sudo apt-get install xvfb libpulse0)
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- name: Build typescript - name: Build typescript

View File

@@ -28,21 +28,21 @@ jobs:
path: ~/.electron-gyp path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
id: cache-sccache # id: cache-sccache
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: pnpm run build:storybook - run: pnpm run build:storybook

View File

@@ -28,21 +28,21 @@ jobs:
path: ~/.electron-gyp path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup sccache # - name: Setup sccache
uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7 # uses: mozilla-actions/sccache-action@054db53350805f83040bf3e6e9b8cf5a139aa7c9 # v0.0.7
- name: Restore sccache # - name: Restore sccache
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4 # uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
id: cache-sccache # id: cache-sccache
with: # with:
path: ${{ env.SCCACHE_PATH }} # path: ${{ env.SCCACHE_PATH }}
key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }} # key: sccache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml', 'patches/**') }}
- name: Install Desktop node_modules - name: Install Desktop node_modules
run: pnpm install run: pnpm install
env: env:
CC: sccache gcc # CC: sccache gcc
CXX: sccache g++ # CXX: sccache g++
SCCACHE_GHA_ENABLED: "true" # SCCACHE_GHA_ENABLED: "true"
NPM_CONFIG_LOGLEVEL: verbose NPM_CONFIG_LOGLEVEL: verbose
- run: pnpm run build:storybook - run: pnpm run build:storybook