File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 2828 env :
2929 SOLUTION_NAME : ' Files.sln'
3030 CONFIGURATION : ' Release' # It's not necessary to use a matrix as the package method will always be Release
31+ PLATFORM : ' x64'
3132 WORKING_DIR : ' ${{ github.workspace }}' # D:\a\Files\Files\
3233 PROJECT_DIR : ' ${{ github.workspace }}\src\Files.App.Controls'
3334 PACKAGE_PROJECT_PATH : ' ${{ github.workspace }}\src\Files.App.Controls\Files.App.Controls.csproj'
@@ -61,10 +62,18 @@ jobs:
6162
6263 - name : Restore NuGet
6364 shell : pwsh
64- run : dotnet restore ${{ env.PACKAGE_PROJECT_PATH }}
65+ run : |
66+ msbuild $env:PACKAGE_PROJECT_PATH `
67+ -t:Restore `
68+ -p:Platform=$env:PLATFORM `
69+ -p:Configuration=$env:CONFIGURATION `
6570
6671 - name : Build Files UI Controls
67- run : dotnet build ${{ env.PACKAGE_PROJECT_PATH }} --configuration Release --no-restore
72+ run : |
73+ msbuild "$env:PACKAGE_PROJECT_PATH" `
74+ -t:Build `
75+ -p:Platform=$env:PLATFORM `
76+ -p:Configuration=$env:CONFIGURATION
6877
6978 - name : Package Files UI Controls
7079 run : dotnet pack ${{ env.PACKAGE_PROJECT_PATH }} --configuration Release --no-build -o ./output -p:Version=${{ steps.extract_version.outputs.version }}
You can’t perform that action at this time.
0 commit comments