Initialise submodules first in build actions

This commit is contained in:
Sardelka9515
2023-02-01 21:38:58 +08:00
parent f1b9bf0571
commit ffb31b0986
2 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,9 @@ jobs:
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Initialise submodules
run: git submodule update --init
- name: Restore dependencies
run: dotnet restore

View File

@ -18,6 +18,9 @@ jobs:
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Initialise submodules
run: git submodule update --init
- name: Restore dependencies
run: dotnet restore