Fix incorrect server URL parsing in publish.yml Git clone step
Auto Publish on Version Change / check-and-publish (push) Failing after 1s

This commit is contained in:
CodingPhoenixx
2026-05-28 12:54:16 +02:00
parent fa216af364
commit 665b97f7f8
+2 -2
View File
@@ -16,8 +16,8 @@ jobs:
steps:
- name: Checkout Code
run: |
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git" .
git checkout ${{ github.sha }}
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url | cut -c 9- }}/${{ github.repository }}.git" .
git checkout ${{ github.sha }}
- name: Version aus Gradle auslesen
id: get_version