Skip to content

Commit

Permalink
ci: use custom action to checkout LFS and cache results
Browse files Browse the repository at this point in the history
This helps reducing git LFS traffic because the free tier limit is at
1GB.

Fixes NPT-84
  • Loading branch information
Ryp committed Oct 5, 2023
1 parent ad3c05f commit 1abb377
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ jobs:
name: "Ubuntu ${{ matrix.config.name }} ${{ matrix.cmake_build_type }}"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: nschloe/action-cached-lfs-checkout@v1
with:
submodules: recursive
lfs: true
submodules: true

- name: Install dependencies
run: |
Expand Down Expand Up @@ -102,10 +101,9 @@ jobs:
name: "Windows ${{ matrix.config.name }} ${{ matrix.cmake_arch }} ${{ matrix.cmake_build_type }}"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: nschloe/action-cached-lfs-checkout@v1
with:
submodules: recursive
lfs: true
submodules: true

- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
Expand Down

0 comments on commit 1abb377

Please sign in to comment.