Skip to content

Commit 254ea57

Browse files
committed
Disable PFX decoding, app packaging, and artifact upload
Comment out steps for decoding PFX, creating the app package, and uploading build artifacts in the dotnet-desktop workflow. This temporary change might be aimed at troubleshooting or modifying the workflow behavior without executing these steps.
1 parent 795e525 commit 254ea57

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/dotnet-desktop.yml

+19-19
Original file line numberDiff line numberDiff line change
@@ -88,28 +88,28 @@ jobs:
8888
Configuration: ${{ matrix.configuration }}
8989

9090
# Decode the base 64 encoded pfx and save the Signing_Certificate
91-
- name: Decode the pfx
92-
run: |
93-
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
94-
$certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
95-
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
91+
# - name: Decode the pfx
92+
# run: |
93+
# $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
94+
# $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
95+
# [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
9696

9797
# Create the app package by building and packaging the Windows Application Packaging project
98-
- name: Create the app package
99-
run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
100-
env:
101-
Appx_Bundle: Always
102-
Appx_Bundle_Platforms: x86|x64
103-
Appx_Package_Build_Mode: StoreUpload
104-
Configuration: ${{ matrix.configuration }}
98+
# - name: Create the app package
99+
# run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
100+
# env:
101+
# Appx_Bundle: Always
102+
# Appx_Bundle_Platforms: x86|x64
103+
# Appx_Package_Build_Mode: StoreUpload
104+
# Configuration: ${{ matrix.configuration }}
105105

106106
# Remove the pfx
107-
- name: Remove the pfx
108-
run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx
107+
# - name: Remove the pfx
108+
# run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx
109109

110110
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
111-
- name: Upload build artifacts
112-
uses: actions/upload-artifact@v3
113-
with:
114-
name: MSIX Package
115-
path: ${{ env.Wap_Project_Directory }}\AppPackages
111+
# - name: Upload build artifacts
112+
# uses: actions/upload-artifact@v3
113+
# with:
114+
# name: MSIX Package
115+
# path: ${{ env.Wap_Project_Directory }}\AppPackages

0 commit comments

Comments
 (0)