fix: install git for catalog workflow jobs
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user