Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0db8fc7

Browse files
committed
💚 Update CI
1 parent dd6a06f commit 0db8fc7

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build:
13-
name: Build
14-
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
12+
test:
13+
name: Test
1514
runs-on: ${{ matrix.os }}
1615
strategy:
1716
matrix:
@@ -50,23 +49,23 @@ jobs:
5049
- name: Install Maui
5150
run: dotnet workload install maui
5251

53-
# - name: Install wasm-tools
54-
# run: dotnet workload install wasm-tools
52+
- name: Install wasm-tools
53+
run: dotnet workload install wasm-tools
5554

5655
- name: Restore Workload
5756
run: dotnet workload restore
5857

5958
- name: Verify dotnet info
6059
run: dotnet --info
6160

62-
- name: Test
63-
shell: pwsh
64-
run: dotnet test src/BD.WTTS.UnitTest/BD.WTTS.UnitTest.csproj -c Release -p:GeneratePackageOnBuild=false
65-
6661
- name: Build
6762
shell: pwsh
6863
run: dotnet build -c Release src\${{ matrix.ProjectName }}\${{ matrix.ProjectName }}.csproj
6964

65+
- name: Test
66+
shell: pwsh
67+
run: dotnet test src/BD.WTTS.UnitTest/BD.WTTS.UnitTest.csproj -c Release -p:GeneratePackageOnBuild=false
68+
7069
# release:
7170
# name: Release
7271
# needs: build

0 commit comments

Comments
 (0)