From 15eed4037fd7a82b94fcf3b9241d71fd7503c282 Mon Sep 17 00:00:00 2001 From: Tingluo Huang Date: Wed, 20 Apr 2022 19:40:10 +0000 Subject: [PATCH] . --- .github/workflows/test.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ee2b2dba..c45e757af 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -213,18 +213,16 @@ jobs: # Clone this repo - name: Checkout uses: actions/checkout@v3 + with: + path: v3 # Basic checkout using git - name: Checkout basic - uses: ./ + uses: ./v3 with: ref: test-data/v2/basic - path: ${{runner.temp}} - env: - GITHUB_WORKSPACE: ${{runner.temp}} - name: Verify basic run: | - cd ${{runner.temp}} if [ ! -f "./basic-file.txt" ]; then echo "Expected basic file does not exist" exit 1 @@ -240,4 +238,10 @@ jobs: git config --global --add safe.directory "*" git fetch --no-tags --depth=1 origin +refs/heads/main:refs/remotes/origin/main + - name: Fix Checkout v3 + uses: ./ + with: + path: v3 + +