File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 if [[ $RUNNER_OS == 'Windows' ]]; then
5252 cd ./publish
53- powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
53+ powershell Compress-Archive -Path (Get-ChildItem -Path . -Recurse | Select-Object -ExpandProperty FullName) -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
5454 elif [[ $RUNNER_OS == 'Linux' ]]; then
5555 cd ./publish
5656 zip -r "../WriterSharp_${{ env.VERSION }}_linux64.zip" *
@@ -77,11 +77,18 @@ jobs:
7777 fi # can we talk about how YAML thinks reversing if sounds like ending an if :skull:
7878 shell : bash
7979
80+ - name : Append Release Warning
81+ run :
82+ echo "> [!WARNING]" >> LatestReleaseNotes.md
83+ echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md"
84+
8085 # Step 10
8186 - name : Create Release
8287 uses : softprops/action-gh-release@v1
8388
8489 with :
90+ body_path : LatestReleaseNotes.md
91+ generate_release_notes : true
8592 files : |
8693 ./*.zip
8794 ./*.tar.gz
You can’t perform that action at this time.
0 commit comments