mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Fixed comment placement for cache key explanation
This commit is contained in:
parent
b9d9e3914d
commit
0678428fab
24
.github/workflows/build-and-release.yml
vendored
24
.github/workflows/build-and-release.yml
vendored
@ -102,15 +102,15 @@ jobs:
|
|||||||
# When the entire key matches, Rust might just create the bundles using the current .NET build:
|
# When the entire key matches, Rust might just create the bundles using the current .NET build:
|
||||||
key: target-${{ matrix.dotnet_runtime }}-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
|
key: target-${{ matrix.dotnet_runtime }}-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
|
||||||
|
|
||||||
|
# - 1st key: the Rust runtime dependencies changed. Anyway, we might be able to re-use many previously built packages.
|
||||||
|
#
|
||||||
|
# - No match: alright, a new Rust version was released. Sadly, we cannot re-use anything now. Why?
|
||||||
|
# The updated Rust compiler might mitigate some bugs or vulnerabilities. In order to apply
|
||||||
|
# these changes to our app, we have to re-compile everything. That's the reason why it makes
|
||||||
|
# no sense to use more parts for the cache key, like Tauri or Tauri build versions.
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
# The Rust runtime dependencies changed. Anyway, we might be able to re-use many previously built packages:
|
|
||||||
target-${{ matrix.dotnet_runtime }}-rust-${{ env.RUST_VERSION }}-dependencies-
|
target-${{ matrix.dotnet_runtime }}-rust-${{ env.RUST_VERSION }}-dependencies-
|
||||||
|
|
||||||
# Alright, a new Rust version was released. Sadly, we cannot re-use anything now. Why?
|
|
||||||
# The updated Rust compiler might mitigate some bugs or vulnerabilities. In order to apply
|
|
||||||
# these changes to our app, we have to re-compile everything. Thats the reason, why it makes
|
|
||||||
# no sense to use more parts for the cache key, like Tauri or Tauri build versions.
|
|
||||||
|
|
||||||
- name: Setup Rust (stable)
|
- name: Setup Rust (stable)
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
@ -233,14 +233,14 @@ jobs:
|
|||||||
# When the entire key matches, Rust might just create the bundles using the current .NET build:
|
# When the entire key matches, Rust might just create the bundles using the current .NET build:
|
||||||
key: target-linux-arm-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
|
key: target-linux-arm-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
|
||||||
|
|
||||||
|
# - 1st key: the Rust runtime dependencies changed. Anyway, we might be able to re-use many previously built packages.
|
||||||
|
#
|
||||||
|
# - No match: alright, a new Rust version was released. Sadly, we cannot re-use anything now. Why?
|
||||||
|
# The updated Rust compiler might mitigate some bugs or vulnerabilities. In order to apply
|
||||||
|
# these changes to our app, we have to re-compile everything. That's the reason why it makes
|
||||||
|
# no sense to use more parts for the cache key, like Tauri or Tauri build versions.
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
# The Rust runtime dependencies changed. Anyway, we might be able to re-use many previously built packages:
|
|
||||||
target-linux-arm-rust-${{ env.RUST_VERSION }}-dependencies-
|
target-linux-arm-rust-${{ env.RUST_VERSION }}-dependencies-
|
||||||
|
|
||||||
# Alright, a new Rust version was released. Sadly, we cannot re-use anything now. Why?
|
|
||||||
# The updated Rust compiler might mitigate some bugs or vulnerabilities. In order to apply
|
|
||||||
# these changes to our app, we have to re-compile everything. Thats the reason, why it makes
|
|
||||||
# no sense to use more parts for the cache key, like Tauri or Tauri build versions.
|
|
||||||
|
|
||||||
- name: Build linux arm runner image
|
- name: Build linux arm runner image
|
||||||
uses: pguyot/arm-runner-action@v2.6.5
|
uses: pguyot/arm-runner-action@v2.6.5
|
||||||
|
Loading…
Reference in New Issue
Block a user