File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,16 @@ jobs:
4444 run : dotnet test
4545 working-directory : Source/${{ env.SOLUTION_DIR }}
4646
47- - name : Publish
47+ - name : Publish (Linux)
48+ if : runner.os == 'Linux'
49+ run : dotnet publish ${{ env.PROJECT }} -c Release -o ${{matrix.OUTPUTDIR}} -r ${{matrix.RUNTIMEID}}
50+ working-directory : Source/${{ env.SOLUTION_DIR }}
51+
52+ - name : Publish (Windows)
53+ if : runner.os == 'Windows'
4854 run : dotnet publish ${{ env.PROJECT }} -c Release -o ${{matrix.OUTPUTDIR}} -p:PublishReadyToRun=true --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:UseAppHost=true -r ${{matrix.RUNTIMEID}}
4955 working-directory : Source/${{ env.SOLUTION_DIR }}
50-
56+
5157 - uses : vimtor/action-zip@v1
5258 with :
5359 files : ./Source/${{ env.SOLUTION_DIR }}/${{matrix.OUTPUTDIR}}/
You can’t perform that action at this time.
0 commit comments