@@ -21,17 +21,17 @@ jobs:
2121 run : dotnet restore
2222
2323 - name : Publish Linux-x64-without-runtime
24- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime linux-x64 --framework net5.0 -o ./build/linux-x64-without-runtime
24+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime linux-x64 --framework net5.0 -o ./build/linux-x64-without-runtime
2525 - name : Publish Linux-x64
26- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime linux-x64 --framework net5.0 -o ./build/linux-x64
26+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime linux-x64 --framework net5.0 -o ./build/linux-x64
2727 - name : Publish Linux-arm-without-runtime
28- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime linux-arm --framework net5.0 -o ./build/linux-arm-without-runtime
28+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime linux-arm --framework net5.0 -o ./build/linux-arm-without-runtime
2929 - name : Publish Linux-arm
30- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime linux-arm --framework net5.0 -o ./build/linux-arm
30+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime linux-arm --framework net5.0 -o ./build/linux-arm
3131 - name : Publish Linux-arm64-without-runtime
32- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime linux-arm64 --framework net5.0 -o ./build/linux-arm64-without-runtime
32+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime linux-arm64 --framework net5.0 -o ./build/linux-arm64-without-runtime
3333 - name : Publish Linux-arm64
34- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime linux-arm64 --framework net5.0 -o ./build/linux-arm64
34+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime linux-arm64 --framework net5.0 -o ./build/linux-arm64
3535
3636 - name : Pack Linux-x64-without-runtime
3737 run : tar -czvf linux-x64-without-runtime.tar.gz -C ~/work/MorePracticeMalodyServer/MorePracticeMalodyServer/build linux-x64-without-runtime
@@ -75,25 +75,25 @@ jobs:
7575 run : dotnet restore
7676
7777 - name : Publish Win-x64-without-runtime
78- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime win-x64 --framework net5.0 -o ./build/win-x64-without-runtime
78+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime win-x64 --framework net5.0 -o ./build/win-x64-without-runtime
7979 - name : Publish Win-x64
80- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime win-x64 --framework net5.0 -o ./build/win-x64
80+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime win-x64 --framework net5.0 -o ./build/win-x64
8181 - name : Publish Win-x86-without-runtime
82- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime win-x86 --framework net5.0 -o ./build/win-x86-without-runtime
82+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime win-x86 --framework net5.0 -o ./build/win-x86-without-runtime
8383 - name : Publish Win-x86
84- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime win-x86 --framework net5.0 -o ./build/win-x86
84+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime win-x86 --framework net5.0 -o ./build/win-x86
8585 - name : Publish Win-arm-without-runtime
86- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime win-arm --framework net5.0 -o ./build/win-arm-without-runtime
86+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime win-arm --framework net5.0 -o ./build/win-arm-without-runtime
8787 - name : Publish Win-arm
88- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime win-arm --framework net5.0 -o ./build/win-arm
88+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime win-arm --framework net5.0 -o ./build/win-arm
8989 - name : Publish Win10-x64-without-runtime
90- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime win10-x64 --framework net5.0 -o ./build/win10-x64-without-runtime
90+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime win10-x64 --framework net5.0 -o ./build/win10-x64-without-runtime
9191 - name : Publish Win10-x64
92- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime win10-x64 --framework net5.0 -o ./build/win10-x64
92+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime win10-x64 --framework net5.0 -o ./build/win10-x64
9393 - name : Publish Win10-arm64-without-runtime
94- run : dotnet publish -p:PublishReadyToRun=true --no-self-contained --runtime win10-arm64 --framework net5.0 -o ./build/win10-arm64-without-runtime
94+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- no-self-contained --runtime win10-arm64 --framework net5.0 -o ./build/win10-arm64-without-runtime
9595 - name : Publish Win10-arm64
96- run : dotnet publish -p:PublishReadyToRun=true --self-contained true --runtime win10-arm64 --framework net5.0 -o ./build/win10-arm64
96+ run : dotnet publish -p:PublishReadyToRun=true --configuration Release -- self-contained true --runtime win10-arm64 --framework net5.0 -o ./build/win10-arm64
9797
9898 - name : Pack Win-x64-without-runtime
9999 run : 7z a win-x64-without-runtime.7z D:\a\MorePracticeMalodyServer\MorePracticeMalodyServer\build\win-x64-without-runtime\
@@ -129,3 +129,18 @@ jobs:
129129 win10-arm64-without-runtime.7z
130130 win10-arm64.7z
131131 token : ${{ secrets.RELEASE_TOKEN }}
132+
133+ Changelog :
134+
135+ runs-on : ubuntu-latest
136+
137+ steps :
138+ - uses : actions/checkout@v2
139+ - name : Generate Changelog
140+ uses : glennawatson/ChangeLog@v1
141+ id : changelog
142+ - name : Write to release
143+ uses : softprops/action-gh-release@v1
144+ with :
145+ body : ${{ steps.Changelog.outputs.changelog }}
146+ token : ${{ secrets.RELEASE_TOKEN }}
0 commit comments