mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
fix gh action
This commit is contained in:
parent
7d129c8da0
commit
f30df270d0
1 changed files with 17 additions and 8 deletions
25
.github/workflows/action-ci.yml
vendored
25
.github/workflows/action-ci.yml
vendored
|
@ -91,6 +91,10 @@ jobs:
|
|||
with:
|
||||
name: Build-${{ matrix.platform }}
|
||||
path: ${{ github.workspace }}/output
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Tools-${{ matrix.platform }}
|
||||
path: ${{ github.workspace }}/build/scripts/SignTestApp.ps1
|
||||
|
||||
unitTests:
|
||||
needs: [defineBuilds, build]
|
||||
|
@ -107,10 +111,13 @@ jobs:
|
|||
with:
|
||||
name: Build-${{ matrix.platform }}
|
||||
path: ${{ github.workspace }}/download
|
||||
- uses: actions/download-artifact@v4
|
||||
name: Download tools
|
||||
with:
|
||||
name: Tools-${{ matrix.platform }}
|
||||
path: ${{ github.workspace }}/download/tools
|
||||
- run: |
|
||||
${{ env.testDir }}/Add-AppDevPackage.ps1 `
|
||||
-CertificatePath ${{ env.testDir }}/CalculatorUnitTests.cer `
|
||||
-Force
|
||||
${{ github.workspace }}/download/tools/SignTestApp.ps1 -AppToSign ${{ env.testDir }}/CalculatorUnitTests.msix
|
||||
shell: pwsh
|
||||
name: Install test certificate
|
||||
- uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken.
|
||||
|
@ -131,16 +138,18 @@ jobs:
|
|||
with:
|
||||
name: Build-x64
|
||||
path: ${{ github.workspace }}/download
|
||||
- uses: actions/download-artifact@v4
|
||||
name: Download tools
|
||||
with:
|
||||
name: Tools-${{ matrix.platform }}
|
||||
path: ${{ github.workspace }}/download/tools
|
||||
- run: |
|
||||
Set-DisplayResolution -Width 1920 -Height 1080 -Force
|
||||
shell: pwsh
|
||||
name: Set screen resolution
|
||||
- run: |
|
||||
${{ env.appDir }}/Add-AppDevPackage.ps1 `
|
||||
-CertificatePath ${{ env.appDir }}/Calculator*.cer `
|
||||
-Force
|
||||
${{ env.appDir }}/Add-AppDevPackage.ps1 `
|
||||
-Force
|
||||
${{ github.workspace }}/download/tools/SignTestApp.ps1 -AppToSign '${{ env.appDir }}/Calculator_*.msixbundle'
|
||||
${{ env.appDir }}/Add-AppDevPackage.ps1 -Force
|
||||
shell: powershell
|
||||
name: Install app
|
||||
- run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue