chore(ci): use official checkout action
This commit is contained in:
@@ -16,16 +16,7 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
run: |
|
||||
echo "[deploy] checkout main for snapshot admin runtime"
|
||||
if [ -d .git ]; then
|
||||
git remote set-url origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@178.104.200.7/kjh2064/QuantEngineByItz.git
|
||||
else
|
||||
git init
|
||||
git remote add origin http://x-access-token:${{ secrets.GITHUB_TOKEN }}@178.104.200.7/kjh2064/QuantEngineByItz.git
|
||||
fi
|
||||
git fetch origin main --depth=1
|
||||
git reset --hard FETCH_HEAD
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET SDK
|
||||
uses: actions/setup-dotnet@v3
|
||||
|
||||
Reference in New Issue
Block a user