Skip to content

Commit

Permalink
Change fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Feb 17, 2025
1 parent affc9e0 commit 000ca8a
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Clone repo
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Configure CMake
run: cmake --preset ${{env.CMAKE_PRESET}}
- name: Configure CMake
run: cmake --preset ${{env.CMAKE_PRESET}}

- name: Build
run: cmake --build -j $(nproc) --preset ${{env.CMAKE_PRESET}}
- name: Build
run: cmake --build -j $(nproc) --preset ${{env.CMAKE_PRESET}}

- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v4
with:
path: |
build/${{env.CMAKE_PRESET}}/memsed
- name: Upload artifacts to GitHub
uses: actions/upload-artifact@v4
with:
path: |
build/${{env.CMAKE_PRESET}}/memsed

0 comments on commit 000ca8a

Please sign in to comment.