fix: install git for catalog workflow jobs
Validate ShrinkSDK Workspace / catalog (push) Successful in 16s
Validate ShrinkSDK Workspace / unity (push) Successful in 3m10s

This commit is contained in:
2026-09-05 06:46:44 +08:00
parent 2760dee6a7
commit ddd55c0c58
2 changed files with 8 additions and 0 deletions
@@ -13,6 +13,10 @@ jobs:
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
if ! command -v git >/dev/null 2>&1; then
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git
fi
ref="${{ gitea.sha }}" ref="${{ gitea.sha }}"
git init . git init .
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git" git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"
+4
View File
@@ -16,6 +16,10 @@ jobs:
shell: bash shell: bash
run: | run: |
set -euo pipefail set -euo pipefail
if ! command -v git >/dev/null 2>&1; then
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git
fi
ref="${{ gitea.sha }}" ref="${{ gitea.sha }}"
git init . git init .
git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git" git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"