|
71 | 71 | - name: Build Yubico.NET.SDK.sln
|
72 | 72 | run: dotnet build --configuration ReleaseWithDocs --nologo --verbosity normal Yubico.NET.SDK.sln
|
73 | 73 |
|
| 74 | + # Run tests |
| 75 | + - name: Test Yubico.YubiKey |
| 76 | + run: dotnet test --configuration ReleaseWithDocs --verbosity normal --no-build --nologo Yubico.YubiKey/tests/unit/Yubico.YubiKey.UnitTests.csproj |
| 77 | + |
| 78 | + - name: Test Yubico.Core |
| 79 | + run: dotnet test --configuration ReleaseWithDocs --verbosity normal --no-build --nologo Yubico.Core/tests/Yubico.Core.UnitTests.csproj |
| 80 | + |
74 | 81 | # Upload artifacts
|
75 | 82 | - name: Save documentation artifacts
|
76 | 83 | uses: actions/upload-artifact@v4
|
|
86 | 93 | Yubico.DotNetPolyfills/src/bin/ReleaseWithDocs/*.nupkg
|
87 | 94 | Yubico.Core/src/bin/ReleaseWithDocs/*.nupkg
|
88 | 95 | Yubico.YubiKey/src/bin/ReleaseWithDocs/*.nupkg
|
| 96 | + |
| 97 | + - name: Save build artifacts |
| 98 | + uses: actions/upload-artifact@v4 |
| 99 | + with: |
| 100 | + name: Symbols Packages |
| 101 | + path: | |
| 102 | + Yubico.DotNetPolyfills/src/bin/ReleaseWithDocs/*.snupkg |
| 103 | + Yubico.Core/src/bin/ReleaseWithDocs/*.snupkg |
| 104 | + Yubico.YubiKey/src/bin/ReleaseWithDocs/*.snupkg |
89 | 105 |
|
90 | 106 | - name: Save build artifacts
|
91 | 107 | uses: actions/upload-artifact@v4
|
@@ -116,7 +132,7 @@ jobs:
|
116 | 132 |
|
117 | 133 | upload-docs:
|
118 | 134 | uses: ./.github/workflows/upload-docs.yml
|
119 |
| - if: ${{ github.event.inputs.upload-docs == 'true' }} |
| 135 | +#if: ${{ github.event.inputs.upload-docs == 'true' }} |
120 | 136 | with:
|
121 | 137 | image_tag: 'yesdk-docserver'
|
122 | 138 | registry_url: 'us-docker.pkg.dev'
|
|
0 commit comments