Update git/checkout/action.yaml
This commit is contained in:
parent
c0f7c1c2ed
commit
6b490c2058
@ -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" .
|
||||
|
Loading…
Reference in New Issue
Block a user