Update publish.yml to use Gitea-hosted checkout action instead of actions/checkout
Auto Publish on Version Change / check-and-publish (push) Failing after 9s
Auto Publish on Version Change / check-and-publish (push) Failing after 9s
This commit is contained in:
@@ -14,16 +14,8 @@ jobs:
|
|||||||
MAVEN_REPO_PASS: ${{ secrets.MAVEN_REPO_PASS }}
|
MAVEN_REPO_PASS: ${{ secrets.MAVEN_REPO_PASS }}
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Version aus Gradle auslesen
|
- name: Version aus Gradle auslesen
|
||||||
id: get_version
|
id: get_version
|
||||||
|
|||||||
Reference in New Issue
Block a user