Fix missing Git dependency in publish.yml to resolve error 127 in workflow
Auto Publish on Version Change / check-and-publish (push) Failing after 2s

This commit is contained in:
CodingPhoenixx
2026-05-28 12:48:30 +02:00
parent ec99b987bf
commit 5a6c105c52
+8
View File
@@ -14,6 +14,14 @@ jobs:
MAVEN_REPO_PASS: ${{ secrets.MAVEN_REPO_PASS }}
steps:
# 1. GIT UND BASH INSTALLIEREN (Löst Fehler 127)
- name: Install Dependencies (Git)
run: |
if ! command -v git &> /dev/null; then
echo "Git nicht gefunden. Installiere..."
sudo apt-get update && sudo apt-get install -y git
fi
- name: Checkout Code
uses: actions/checkout@v4