diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index de52453..1a4745f 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -15,7 +15,9 @@ jobs: steps: - name: Checkout Code - uses: https://gitea.com/actions/checkout@v4 + run: | + git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git" . + git checkout ${{ github.sha }} - name: Version aus Gradle auslesen id: get_version