mirror of
https://github.com/coder/code-server.git
synced 2026-05-20 19:27:27 +02:00
Ensure dir exists before writing update checklist
This commit is contained in:
2
.github/workflows/trivy-docker.yaml
vendored
2
.github/workflows/trivy-docker.yaml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user