Update git/checkout/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 00:29:34 +00:00
parent c0f7c1c2ed
commit 6b490c2058

View File

@ -8,7 +8,7 @@ runs:
container: git
options: -v ".:/app"
run: |
cd /app
mkdir -p /app && cd /app
mkdir -p /tmp/workspace && mv * /tmp/workspace/ || echo Nothing to copy
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
git clone -b "${{ github.ref_name }}" "https://${{ github.token }}@$HOST/${{ github.repository }}.git" .