Skip to content

Commit 3415878

Browse files
committed
update
1 parent fb569bf commit 3415878

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/c.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ jobs:
4949
5050
- name: Checkout
5151
run: |
52-
git clone --depth 1 --filter=blob:none --no-checkout https://github.com/swift-nav/libsbp .
53-
git fetch --depth 1 origin ${{ github.sha }}
54-
git checkout ${{ github.sha }}
55-
git submodule update --depth=1 --recursive --init
52+
git config --add safe.directory "${PWD}"
53+
git init
54+
git remote add origin "https://github.com/${{ github.repository }}"
55+
git fetch --no-tags --depth=1 origin "${{ github.ssh }}"
56+
git checkout "${{ github.sha }}""
57+
git submodule update --recursive --init --depth=1
5658
5759
- name: Configure
5860
run: |

0 commit comments

Comments
 (0)