From 1d8aa25d7b7481161a2f3451289b10aea5a3e2aa Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 20 Apr 2020 11:12:09 +0800 Subject: [PATCH 1/3] 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 From 044fdc19dc49f02aa7f86aee18ae4d0f94a046f3 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 20 Apr 2020 11:14:51 +0800 Subject: [PATCH 2/3] Format code. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5838d22ca7..3cbcc947b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,12 +18,12 @@ on: - uses: actions/setup-dotnet@master with: dotnet-version: 3.1.100 - + - name: Build All run: .\build-all.ps1 working-directory: .\build shell: powershell - + - name: Test All run: .\test-all.ps1 working-directory: .\build From 12e3ea0f59e894b7140122728c329244604e4cc4 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 20 Apr 2020 11:27:50 +0800 Subject: [PATCH 3/3] Format code. --- .github/workflows/main.yml | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3cbcc947b0..e33a07a197 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,22 +10,21 @@ on: - "framework/**" - "modules/**" - "templates/**" - jobs: - build-test: - runs-on: windows-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-dotnet@master - with: - dotnet-version: 3.1.100 +jobs: + build-test: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-dotnet@master + with: + dotnet-version: 3.1.100 - - name: Build All - run: .\build-all.ps1 - working-directory: .\build - shell: powershell + - name: Build All + run: .\build-all.ps1 + working-directory: .\build + shell: powershell - - name: Test All - run: .\test-all.ps1 - working-directory: .\build - shell: powershell - \ No newline at end of file + - name: Test All + run: .\test-all.ps1 + working-directory: .\build + shell: powershell