Skip to content

Commit

Permalink
Save NAS2D build cache between build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRStevens committed Jan 10, 2025
1 parent 13d50bc commit e6e92c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,20 @@ jobs:
vcpkg integrate install
msbuild /maxCpuCount /warnAsError /property:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} /target:NAS2D
- name: Save build cache - NAS2D
uses: actions/cache/save@v4
with:
path: nas2d-core/.build/
key: nas2dCache-${{ runner.os }}-${{ matrix.platform }}-${{ env.nas2dSha }}

- name: Build OPHD
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: |
vcpkg integrate install
msbuild /maxCpuCount /warnAsError /property:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Save incremental build cache
- name: Save incremental build cache - OPHD
uses: actions/cache/save@v4
with:
path: .build
Expand Down

0 comments on commit e6e92c5

Please sign in to comment.