Remove "cache: false"

This commit is contained in:
Lup Yuen Lee 2024-11-25 17:02:50 +08:00
parent 75dcb341fb
commit a8163ea8e5
2 changed files with 16 additions and 0 deletions

View file

@ -58,6 +58,14 @@ cat $file \
>$tmp_file
mv $tmp_file $file
## Remove "cache: false"
search="cache: false"
replace=""
cat $file \
| sed "s/$search/$replace/g" \
>$tmp_file
mv $tmp_file $file
## Enable the macOS Builds
## Change: if [[ "${{ inputs.os }}" == "macOS" ]]; then
## To: if [[ "${{ inputs.os }}" == "NOTUSED" ]]; then

View file

@ -59,6 +59,14 @@ cat $file \
>$tmp_file
mv $tmp_file $file
## Remove "cache: false"
search="cache: false"
replace=""
cat $file \
| sed "s/$search/$replace/g" \
>$tmp_file
mv $tmp_file $file
## Enable the macOS Builds
## Change: if [[ "${{ inputs.os }}" == "macOS" ]]; then
## To: if [[ "${{ inputs.os }}" == "NOTUSED" ]]; then