Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TingluoHuang committed Apr 20, 2022
1 parent 36673e2 commit 15eed40
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -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
Expand All @@ -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



0 comments on commit 15eed40

Please sign in to comment.