Skip to content

Commit 33bdaad

Browse files
authored
ples
1 parent 9602e68 commit 33bdaad

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: windows-latest
2323

2424
env:
25-
Solution_Name: Musium.slnx
25+
Solution_Name: Musium
2626

2727
steps:
2828
- name: Checkout
@@ -37,9 +37,8 @@ jobs:
3737
uses: microsoft/setup-msbuild@v1.0.2
3838

3939
- name: Restore the application
40-
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
40+
run: msbuild "$env:Solution_Name.slnx" /t:Restore /p:Configuration=$env:Configuration
4141
env:
42-
Solution_Name: Musium
4342
Configuration: ${{ matrix.configuration }}
4443

4544
- name: Decode the pfx
@@ -49,7 +48,7 @@ jobs:
4948
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
5049
5150
- name: Create the app package
52-
run: msbuild $env:Solution_Name /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.slnx" /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
5352
env:
5453
Appx_Bundle: Never
5554
Appx_Package_Build_Mode: SideloadOnly

0 commit comments

Comments
 (0)