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,7 +16,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
run: |
|
run: |
|
||||||
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git" .
|
git clone "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url | cut -c 9- }}/${{ github.repository }}.git" .
|
||||||
git checkout ${{ github.sha }}
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Version aus Gradle auslesen
|
- name: Version aus Gradle auslesen
|
||||||
|
|||||||
Reference in New Issue
Block a user