Skip to content

Commit d04984f

Browse files
authored
CI | Update build.yml
1 parent ce554bd commit d04984f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ jobs:
4444
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.BASE64_ENCODED_PFX }}")
4545
$certificatePath = "GitHubActionsWorkflow.pfx"
4646
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
47-
47+
- name: Remove the pfx
48+
run: |
49+
ls
4850
- name: Create the app package
49-
run: msbuild $env:Solution_Name/$env:Solution_Name.csproj /p:Configuration=$env:Configuration /p:Platform=$env:Platform /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true
51+
run: msbuild $env:Solution_Name/$env:Solution_Name.csproj /p:Configuration=$env:Configuration /p:Platform=$env:Platform /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=./GitHubActionsWorkflow.pfx /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true
5052
env:
5153
Appx_Bundle: Never
5254
Appx_Package_Build_Mode: SideloadOnly
53-
Appx_Package_Dir: Packages\
55+
Appx_Package_Dir: ..\Packages\
5456
Configuration: ${{ matrix.configuration }}
5557
Platform: ${{ matrix.platform }}
5658

0 commit comments

Comments
 (0)