feat: subpath
This commit is contained in:
parent
16acdfd6fd
commit
a1be1fd562
2 changed files with 12 additions and 2 deletions
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHUB_REPOSITORY"
|
||||
|
||||
git init -b main
|
||||
git remote add origin "$URL"
|
||||
git fetch --no-tags --prune --no-recurse-submodules --depth=1 origin "$GITHUB_SHA"
|
||||
git checkout --progress --force -B main "$GITHUB_SHA"
|
||||
Loading…
Add table
Add a link
Reference in a new issue