Skip to content

Commit

Permalink
Fix CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Nov 6, 2023
1 parent b97f71c commit 1510800
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish_mstestx_nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
fileName: 'certfile.pfx'
encodedString: ${{ secrets.BASE64_ENCODED_PFX }}

- name: Build All
- name: Build Adapter and Runner
if: ${{ inputs.publish-adapter }}
run: |
dotnet nuget push nupkg\MSTestX.TestAdapter.*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org
dotnet nuget push nupkg\MSTestX.TestAdapter.*.snupkg -k ${{ secrets.NUGET_API_KEY }} -s https://nuget.org
msbuild /restore /t:Build,Pack src/MSTestX.Adapter/MSTestX.Adapter.csproj /p:Configuration=Release /p:Configuration=Release /p:CertificatePath=${{ steps.cert_file.outputs.filePath }} /p:CertificatePassword=${{ secrets.PFX_PASSWORD }}
msbuild /restore /t:Build,Pack src/TestAppRunner/TestAppRunner/TestAppRunner.csproj /p:Configuration=Release /p:Configuration=Release /p:CertificatePath=${{ steps.cert_file.outputs.filePath }} /p:CertificatePassword=${{ secrets.PFX_PASSWORD }}
- name: Build
- name: Build Runner
if: ${{ ! inputs.publish-adapter }}
run: |
msbuild /restore /t:Build,Pack src/TestAppRunner/TestAppRunner/TestAppRunner.csproj /p:NuGetAdapter=true /p:Configuration=Release /p:Configuration=Release /p:CertificatePath=${{ steps.cert_file.outputs.filePath }} /p:CertificatePassword=${{ secrets.PFX_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<MSTestXAdapterVersion>2.2.10.1</MSTestXAdapterVersion>
<MSTestXAdapterVersion>2.2.10.2</MSTestXAdapterVersion>
<MSTextXRunnerVersion>2.0.0-rc.6</MSTextXRunnerVersion>
</PropertyGroup>

Expand Down

0 comments on commit 1510800

Please sign in to comment.