Skip to content

Commit ab80454

Browse files
committed
Fix CI
1 parent 72f4204 commit ab80454

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ jobs:
4646
runs-on: ubuntu-latest
4747

4848
steps:
49+
- name: Checkout repo
50+
uses: actions/checkout@v3
4951
- name: build xerces
5052
run: |
51-
git clone https://github.com/xerces/xerces-c.git
53+
git clone https://github.com/xerces/xerces-c.git --depth 1
5254
cd xerces-c
5355
mkdir build
5456
cd build
5557
cmake .. -DCMAKE_CXX_STANDARD=98 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_EXTENSIONS=OFF
5658
make install
57-
- name: Checkout repo
58-
uses: actions/checkout@v3
5959
- name: Test C++
6060
run: |
6161
cmake -B build -DCMAKE_CXX_STANDARD=98 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_EXTENSIONS=OFF

0 commit comments

Comments
 (0)