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 28
28
env :
29
29
SOLUTION_NAME : ' Files.sln'
30
30
CONFIGURATION : ' Release' # It's not necessary to use a matrix as the package method will always be Release
31
+ PLATFORM : ' x64'
31
32
WORKING_DIR : ' ${{ github.workspace }}' # D:\a\Files\Files\
32
33
PROJECT_DIR : ' ${{ github.workspace }}\src\Files.App.Controls'
33
34
PACKAGE_PROJECT_PATH : ' ${{ github.workspace }}\src\Files.App.Controls\Files.App.Controls.csproj'
@@ -61,10 +62,18 @@ jobs:
61
62
62
63
- name : Restore NuGet
63
64
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 `
65
70
66
71
- 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
68
77
69
78
- name : Package Files UI Controls
70
79
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