Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mx2rel authored Mar 13, 2024
1 parent df329f3 commit 0a11eb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on

env:
Solution_Name: your-solution-name # Replace with your solution name, i.e. App1.sln.
Solution_Name: VulcanForWindows.sln # Replace with your solution name, i.e. App1.sln.

steps:
- name: Checkout
Expand All @@ -42,7 +42,7 @@ jobs:

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:VulcanForWindows /t:Restore /p:Configuration=$env:Configuration
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}

Expand All @@ -55,7 +55,7 @@ jobs:
# Create the app package by building and packaging the project
- name: Create the app package
run: msbuild $env:VulcanForWindows /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
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
env:
Appx_Bundle: Never
Appx_Package_Build_Mode: SideloadOnly
Expand All @@ -72,4 +72,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: MSIX Package
path: ${{ env.VulcanForWindows }}\\Packages
path: ${{ env.Solution_Name }}\\Packages

0 comments on commit 0a11eb2

Please sign in to comment.