diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2022-12-21 23:51:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 23:51:32 +0100 |
commit | 5b4c70830f5b66f0d8f2ef62ceb77b2888c08b29 (patch) | |
tree | c322b325317c9b65d5a77b678bd3d25ae5560292 /.github/workflows/push-test.yml | |
parent | 3144efd5ad22904d1e566f8e0e187003362ae9ba (diff) | |
download | FlightCore-5b4c70830f5b66f0d8f2ef62ceb77b2888c08b29.tar.gz FlightCore-5b4c70830f5b66f0d8f2ef62ceb77b2888c08b29.zip |
build: Cache Rust build artifacts (#118)
* build: Attempt caching Rust build artifacts
* temp: Change to force recompile to test cache
* build: Set Rust workspace dir correctly
* temp: Change to force recompile to test cache
Diffstat (limited to '.github/workflows/push-test.yml')
-rw-r--r-- | .github/workflows/push-test.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/push-test.yml b/.github/workflows/push-test.yml index ec5fde87..25314e58 100644 --- a/.github/workflows/push-test.yml +++ b/.github/workflows/push-test.yml @@ -44,6 +44,10 @@ jobs: jq '.tauri.updater.active = false' src-tauri/tauri.conf.json > src-tauri/tauri.conf.json.new rm src-tauri/tauri.conf.json mv src-tauri/tauri.conf.json.new src-tauri/tauri.conf.json + - uses: Swatinem/rust-cache@v2 # Cache Rust build artifacts + with: + workspaces: | + src-tauri - name: install app dependencies and build it env: TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} |