File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,9 +124,20 @@ jobs:
124124 - name : Prepare package
125125 if : ${{ matrix.configuration == 'Release' }}
126126 run : >
127- dotnet msbuild "${{ env.PUBLISH_PROJECT_PATH }}"
128- -t:PublishAll
129- -p:NoBuild=true
127+ dotnet publish "${{ env.PUBLISH_PROJECT_PATH }}" --no-buils
128+ -p:TargetFramework=netcoreapp3.1
129+ -p:Configuration=${{ matrix.configuration }}
130+ -p:BaseOutputPath="${{ env.OUTPUT_PATH }}"
131+ -p:PublishDir="${{ env.PUBLISH_PATH }}/$(Configuration)/$(TargetFramework)/"
132+ &&
133+ dotnet publish "${{ env.PUBLISH_PROJECT_PATH }}" --no-buils
134+ -p:TargetFramework=net6.0
135+ -p:Configuration=${{ matrix.configuration }}
136+ -p:BaseOutputPath="${{ env.OUTPUT_PATH }}"
137+ -p:PublishDir="${{ env.PUBLISH_PATH }}/$(Configuration)/$(TargetFramework)/"
138+ &&
139+ dotnet publish "${{ env.PUBLISH_PROJECT_PATH }}" --no-buils
140+ -p:TargetFramework=net8.0
130141 -p:Configuration=${{ matrix.configuration }}
131142 -p:BaseOutputPath="${{ env.OUTPUT_PATH }}"
132143 -p:PublishDir="${{ env.PUBLISH_PATH }}/$(Configuration)/$(TargetFramework)/"
You can’t perform that action at this time.
0 commit comments