From 665b97f7f86a65fbb95466c479a9440304c9f423 Mon Sep 17 00:00:00 2001 From: CodingPhoenixx Date: Thu, 28 May 2026 12:54:16 +0200 Subject: [PATCH] Fix incorrect server URL parsing in publish.yml Git clone step --- .gitea/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 1a4745f..3a89bf4 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -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