mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
feat: add rust cache (#17280)
* feat: add rust cache * fix: clean up commented code
This commit is contained in:
49
.github/workflows/build-desktop.yml
vendored
49
.github/workflows/build-desktop.yml
vendored
@@ -185,6 +185,13 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -334,6 +341,13 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -475,6 +489,13 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Install AST
|
- name: Install AST
|
||||||
run: dotnet tool install --global AzureSignTool --version 4.0.1
|
run: dotnet tool install --global AzureSignTool --version 4.0.1
|
||||||
|
|
||||||
@@ -734,6 +755,13 @@ jobs:
|
|||||||
cache-dependency-path: '**/package-lock.json'
|
cache-dependency-path: '**/package-lock.json'
|
||||||
node-version: ${{ env._NODE_VERSION }}
|
node-version: ${{ env._NODE_VERSION }}
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Install AST
|
- name: Install AST
|
||||||
run: dotnet tool install --global AzureSignTool --version 4.0.1
|
run: dotnet tool install --global AzureSignTool --version 4.0.1
|
||||||
|
|
||||||
@@ -976,6 +1004,13 @@ jobs:
|
|||||||
- name: Set up Node-gyp
|
- name: Set up Node-gyp
|
||||||
run: python3 -m pip install setuptools
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Print environment
|
- name: Print environment
|
||||||
run: |
|
run: |
|
||||||
node --version
|
node --version
|
||||||
@@ -1206,6 +1241,13 @@ jobs:
|
|||||||
- name: Set up Node-gyp
|
- name: Set up Node-gyp
|
||||||
run: python3 -m pip install setuptools
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Print environment
|
- name: Print environment
|
||||||
run: |
|
run: |
|
||||||
node --version
|
node --version
|
||||||
@@ -1471,6 +1513,13 @@ jobs:
|
|||||||
- name: Set up Node-gyp
|
- name: Set up Node-gyp
|
||||||
run: python3 -m pip install setuptools
|
run: python3 -m pip install setuptools
|
||||||
|
|
||||||
|
- name: Cache Rust dependencies
|
||||||
|
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
|
||||||
|
with:
|
||||||
|
workspaces: |
|
||||||
|
apps/desktop/desktop_native -> target
|
||||||
|
cache-targets: "true"
|
||||||
|
|
||||||
- name: Print environment
|
- name: Print environment
|
||||||
run: |
|
run: |
|
||||||
node --version
|
node --version
|
||||||
|
|||||||
Reference in New Issue
Block a user