Ensure dir exists before writing update checklist

This commit is contained in:
Asher
2026-05-19 10:13:01 -08:00
parent ef7ea3e515
commit 359b40d422
3 changed files with 2 additions and 2 deletions

View File

@@ -18,8 +18,6 @@ on:
- .github/workflows/trivy-docker.yaml - .github/workflows/trivy-docker.yaml
schedule: schedule:
# Run at 10:15 am UTC (3:15am PT/5:15am CT)
# Run at 0 minutes 0 hours of every day.
- cron: "15 10 * * *" - cron: "15 10 * * *"
workflow_dispatch: workflow_dispatch:

View File

@@ -20,6 +20,7 @@ function update_vscode() {
if ! git checkout 2>&1 "$target_vscode_version" ; then if ! git checkout 2>&1 "$target_vscode_version" ; then
echo "$target_vscode_version does not exist locally, fetching..." echo "$target_vscode_version does not exist locally, fetching..."
git fetch --all --prune git fetch --all --prune
echo "Checking out $target_vscode_version again..."
git checkout "$target_vscode_version" git checkout "$target_vscode_version"
fi fi
popd popd

View File

@@ -80,6 +80,7 @@ nodeArch() {
run-steps() { run-steps() {
local -i failed=0 local -i failed=0
mkdir -p .cache
rm -f .cache/checklist rm -f .cache/checklist
while (( $# )) ; do while (( $# )) ; do
local name=$1 ; shift local name=$1 ; shift