fix: install git for catalog workflow jobs
This commit is contained in:
1 parent
2760dee6a7
commit
ddd55c0c58
2 files changed
+8
No files matched your search
@@ -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