Update dotnet-desktop2.yml
This commit is contained in:
13
.github/workflows/dotnet-desktop2.yml
vendored
13
.github/workflows/dotnet-desktop2.yml
vendored
@@ -76,22 +76,11 @@ jobs:
|
|||||||
- name: Setup MSBuild.exe
|
- name: Setup MSBuild.exe
|
||||||
uses: microsoft/setup-msbuild@v1.0.2
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
|
|
||||||
# Execute all unit tests in the solution
|
|
||||||
- name: Execute unit tests
|
|
||||||
run: dotnet test
|
|
||||||
|
|
||||||
# Restore the application to populate the obj folder with RuntimeIdentifiers
|
# Restore the application to populate the obj folder with RuntimeIdentifiers
|
||||||
- name: Restore the application
|
- name: Restore the application
|
||||||
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
|
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
|
||||||
env:
|
env:
|
||||||
Configuration: ${{ matrix.configuration }}
|
Configuration: ${{ matrix.configuration }}
|
||||||
|
|
||||||
# Decode the base 64 encoded pfx and save the Signing_Certificate
|
|
||||||
- name: Decode the pfx
|
|
||||||
run: |
|
|
||||||
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
|
|
||||||
$certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
|
|
||||||
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
|
|
||||||
|
|
||||||
# Create the app package by building and packaging the Windows Application Packaging project
|
# Create the app package by building and packaging the Windows Application Packaging project
|
||||||
- name: Create the app package
|
- name: Create the app package
|
||||||
|
|||||||
Reference in New Issue
Block a user