Skip to content

Commit fdec793

Browse files
authored
CI | fix
1 parent cc6f9df commit fdec793

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: microsoft/setup-msbuild@v2
3636

3737
- name: Restore the application
38-
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
38+
run: msbuild $env:Solution_Name/$env:Solution_Name.csproj /t:Restore /p:Configuration=$env:Configuration
3939
env:
4040
Configuration: ${{ matrix.configuration }}
4141

@@ -46,19 +46,19 @@ jobs:
4646
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
4747
4848
- name: Create the app package
49-
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
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
5050
env:
5151
Appx_Bundle: Never
5252
Appx_Package_Build_Mode: SideloadOnly
5353
Appx_Package_Dir: Packages\
5454
Configuration: ${{ matrix.configuration }}
5555
Platform: ${{ matrix.platform }}
5656

57-
# Remove the pfx
5857
- name: Remove the pfx
59-
run: Remove-Item -path GitHubActionsWorkflow.pfx
60-
61-
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
58+
run: |
59+
Remove-Item -path GitHubActionsWorkflow.pfx
60+
ls
61+
6262
- name: Upload MSIX package
6363
uses: actions/upload-artifact@v4
6464
with:

0 commit comments

Comments
 (0)