File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1313 description : ' Defines the platforms for the app package.'
1414 required : false
1515 default : ' x86|x64|ARM'
16- output_directory :
17- type : string
18- description : ' Defines the output directory for the app package'
19- required : false
20- default : ' ${{github.workspace}}\build'
2116 build_number :
2217 type : string
2318 description : ' The build number to use'
2722 build :
2823 name : ' Build App Package'
2924 runs-on : windows-latest
30-
25+ env :
26+ output_directory : ${{github.workspace}}/build
3127 steps :
3228 - name : Checkout main code
3329 uses : actions/checkout@v2
9692 shell : pwsh
9793 run : |
9894 Write-Host "==== Build app package ====" -ForegroundColor Green
99- msbuild.exe ${{github.workspace}}\repo\OpenHAB.Windows.sln /p:Platform="x86" /p:AppxBundlePlatforms="${{inputs.bundle_Platforms}}" /p:AppxPackageDir="${{inputs .output_directory}}" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload /p:configuration="${{inputs.build_configuration}}" /t:rebuild
95+ msbuild.exe ${{github.workspace}}\repo\OpenHAB.Windows.sln /p:Platform="x86" /p:AppxBundlePlatforms="${{inputs.bundle_Platforms}}" /p:AppxPackageDir="${{env .output_directory}}" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload /p:configuration="${{inputs.build_configuration}}" /t:rebuild
10096
10197 - name : End SonarQube analyze
10298 env :
@@ -110,4 +106,4 @@ jobs:
110106 uses : actions/upload-artifact@v4
111107 with :
112108 name : app
113- path : ${{inputs .output_directory}}
109+ path : ${{env .output_directory}}
You can’t perform that action at this time.
0 commit comments