Skip to content

Commit 07da469

Browse files
committed
gate msix package generation on github actions
minor tweak to build store package action
1 parent 66cbc8f commit 07da469

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,15 @@ jobs:
105105
"-p:SentrySetCommits=true"
106106
}
107107
msbuild Screenbox\Screenbox.csproj `
108+
-nologo `
109+
-restore `
110+
-v:minimal `
108111
-p:RestoreConfigFile=nuget.config `
112+
-p:ContinuousIntegrationBuild=true `
109113
-p:Configuration=Release `
110114
-p:Platform=x64 `
111115
-p:UapAppxPackageBuildMode=$env:BuildMode `
112-
-p:AppxPackageDir=$env:PackageDir @sentryArgs `
113-
-restore
116+
-p:AppxPackageDir=$env:PackageDir @sentryArgs
114117
115118
- name: Create store-upload artifact
116119
uses: actions/upload-artifact@v7

Screenbox/Screenbox.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
2727
<GenerateTestArtifacts>False</GenerateTestArtifacts>
2828
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
29-
<GenerateAppxPackageOnBuild Condition="'$(Configuration)' != 'Debug'">true</GenerateAppxPackageOnBuild>
29+
<GenerateAppxPackageOnBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</GenerateAppxPackageOnBuild>
3030
<AppxBundle>Always</AppxBundle>
3131
<AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
3232
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>

0 commit comments

Comments
 (0)