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:
|
with:
|
||||||
name: Build-${{ matrix.platform }}
|
name: Build-${{ matrix.platform }}
|
||||||
path: ${{ github.workspace }}/output
|
path: ${{ github.workspace }}/output
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: Tools-${{ matrix.platform }}
|
||||||
|
path: ${{ github.workspace }}/build/scripts/SignTestApp.ps1
|
||||||
|
|
||||||
unitTests:
|
unitTests:
|
||||||
needs: [defineBuilds, build]
|
needs: [defineBuilds, build]
|
||||||
|
@ -107,10 +111,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Build-${{ matrix.platform }}
|
name: Build-${{ matrix.platform }}
|
||||||
path: ${{ github.workspace }}/download
|
path: ${{ github.workspace }}/download
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
name: Download tools
|
||||||
|
with:
|
||||||
|
name: Tools-${{ matrix.platform }}
|
||||||
|
path: ${{ github.workspace }}/download/tools
|
||||||
- run: |
|
- run: |
|
||||||
${{ env.testDir }}/Add-AppDevPackage.ps1 `
|
${{ github.workspace }}/download/tools/SignTestApp.ps1 -AppToSign ${{ env.testDir }}/CalculatorUnitTests.msix
|
||||||
-CertificatePath ${{ env.testDir }}/CalculatorUnitTests.cer `
|
|
||||||
-Force
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
name: Install test certificate
|
name: Install test certificate
|
||||||
- uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken.
|
- uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken.
|
||||||
|
@ -131,16 +138,18 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Build-x64
|
name: Build-x64
|
||||||
path: ${{ github.workspace }}/download
|
path: ${{ github.workspace }}/download
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
name: Download tools
|
||||||
|
with:
|
||||||
|
name: Tools-${{ matrix.platform }}
|
||||||
|
path: ${{ github.workspace }}/download/tools
|
||||||
- run: |
|
- run: |
|
||||||
Set-DisplayResolution -Width 1920 -Height 1080 -Force
|
Set-DisplayResolution -Width 1920 -Height 1080 -Force
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
name: Set screen resolution
|
name: Set screen resolution
|
||||||
- run: |
|
- run: |
|
||||||
${{ env.appDir }}/Add-AppDevPackage.ps1 `
|
${{ github.workspace }}/download/tools/SignTestApp.ps1 -AppToSign '${{ env.appDir }}/Calculator_*.msixbundle'
|
||||||
-CertificatePath ${{ env.appDir }}/Calculator*.cer `
|
${{ env.appDir }}/Add-AppDevPackage.ps1 -Force
|
||||||
-Force
|
|
||||||
${{ env.appDir }}/Add-AppDevPackage.ps1 `
|
|
||||||
-Force
|
|
||||||
shell: powershell
|
shell: powershell
|
||||||
name: Install app
|
name: Install app
|
||||||
- run: |
|
- run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue