remove cache, see if we get a full build
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m48s Details

This commit is contained in:
Martyn Ranyard 2023-11-07 19:46:46 +01:00
parent b698bd9747
commit a6ad246f9f
No known key found for this signature in database
1 changed files with 6 additions and 5 deletions

View File

@ -24,12 +24,13 @@ for i in $(seq 0 $(expr $(jq '. | length' < apps.json) - 1)); do
inkscape icon.svg --export-filename=icon.png --export-width=1024 inkscape icon.svg --export-filename=icon.png --export-width=1024
convert -background none icon.png -gravity center -extent 1024x1024 icon-square.png convert -background none icon.png -gravity center -extent 1024x1024 icon-square.png
cd .. cd ..
fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week #this is completely unusable with tauri at the moment
cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) #fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week
trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT #cache_dir=$(fs-dir-cache lock --key-file Cargo.toml)
#trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT
cargo tauri build --target-dir="${cache_dir}/target" cargo tauri build --target-dir="${cache_dir}/target"
cargo tauri build --target x86_64-pc-windows-msvc --target-dir="${cache_dir}/target" cargo tauri build --target x86_64-pc-windows-msvc
cargo tauri build --target x86_64-apple-darwin --target-dir="${cache_dir}/target" cargo tauri build --target x86_64-apple-darwin
cd .. cd ..
cd .. cd ..
done done