From 1d8aa25d7b7481161a2f3451289b10aea5a3e2aa Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 20 Apr 2020 11:12:09 +0800 Subject: [PATCH] Fix Github action. --- .github/workflows/main.yml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81cf37fc8a..5838d22ca7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,19 +10,22 @@ on: - "framework/**" - "modules/**" - "templates/**" -jobs: - build-test: - runs-on: windows-latest - steps: - - uses: actions/checkout@v1 + jobs: + build-test: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 - uses: actions/setup-dotnet@master with: - dotnet-version: "3.1.100" - + dotnet-version: 3.1.100 + - name: Build All - run: .\build\build-all.ps1 - shell: pwsh - + run: .\build-all.ps1 + working-directory: .\build + shell: powershell + - name: Test All - run: .\build\test-all.ps1 - shell: pwsh + run: .\test-all.ps1 + working-directory: .\build + shell: powershell + \ No newline at end of file