Skip to content

Commit

Permalink
Updated build actions checkout step to use submodules: recursive inst…
Browse files Browse the repository at this point in the history
…ead of a separate manual step
  • Loading branch information
visrealm committed Sep 2, 2023
1 parent 7bf2ff8 commit 03cd3e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/emulator-msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Emulator MSBuild
name: emulator-win64

on:
push:
Expand All @@ -29,17 +29,12 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Checkout submodules
run: git submodule update --init --recursive
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/emulator-wasm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Emulator WebAssembly
name: emulator-wasm

on:
push:
Expand All @@ -19,9 +19,8 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Checkout submodules
run: git submodule update --init --recursive
with:
submodules: recursive

- name: Build emscripten
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down

0 comments on commit 03cd3e7

Please sign in to comment.