Optimized caches
/ audit (push) Failing after 1m25s Details
/ publish-release (push) Failing after 3m3s Details
/ build (push) Successful in 46s Details
/ build-windows (push) Successful in 42s Details
/ build-appimage (push) Has been cancelled Details

This commit is contained in:
Sebastian 2023-08-02 18:32:41 +02:00
parent 6b4bc621fd
commit 04a2839cc8
3 changed files with 9 additions and 5 deletions

View File

@ -14,5 +14,5 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: audit-apt-decoder-cargo
key: audit-apt-decoder
- run: CARGO_HOME=/root/.cargo cargo audit

View File

@ -14,7 +14,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-apt-decoder-cargo
key: build-apt-decoder
restore-keys: audit-apt-decoder
- run: CARGO_HOME=~/.cargo cargo build --release
build-windows:
@ -32,7 +33,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-apt-decoder-cargo
key: build-windows-apt-decoder
restore-keys: audit-apt-decoder
- run: CARGO_HOME=~/.cargo cargo build --target x86_64-pc-windows-gnu --release
build-appimage:
@ -50,5 +52,6 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-apt-decoder-cargo
key: appimage-apt-decoder
restore-keys: audit-apt-decoder
- run: CARGO_HOME=~/.cargo PATH=$PATH:$CARGO_HOME/bin x build -r --format appimage

View File

@ -17,7 +17,8 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-apt-decoder-cargo
key: release-apt-decoder
restore-keys: audit-apt-decoder
- run: CARGO_HOME=~/.cargo cargo build --target x86_64-pc-windows-gnu --release
- run: CARGO_HOME=~/.cargo PATH=$PATH:$CARGO_HOME/bin x build -r --format appimage
- run: mkdir -p release