diff --git a/.gitea/workflows/package-hosts-verify.yml b/.gitea/workflows/package-hosts-verify.yml index c2286dc..488bc22 100644 --- a/.gitea/workflows/package-hosts-verify.yml +++ b/.gitea/workflows/package-hosts-verify.yml @@ -13,6 +13,10 @@ jobs: shell: bash run: | 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 }}" git init . git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git" diff --git a/.gitea/workflows/workspace-validate.yml b/.gitea/workflows/workspace-validate.yml index bdb6361..0503c7d 100644 --- a/.gitea/workflows/workspace-validate.yml +++ b/.gitea/workflows/workspace-validate.yml @@ -16,6 +16,10 @@ jobs: shell: bash run: | 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 }}" git init . git remote add origin "https://git.crash.work/ShrinkSDK/Workspace.git"