Fix incorrect server URL parsing in publish.yml Git clone step
Auto Publish on Version Change / check-and-publish (push) Failing after 1s
Auto Publish on Version Change / check-and-publish (push) Failing after 1s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user