Skip to content

Commit 2b1b042

Browse files
committed
.NET Workflows
1 parent dd19fae commit 2b1b042

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/dotnet_release_linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ jobs:
5555
tar -czvf "../WriterSharp_${{ env.VERSION }}_linux64.tar.gz" *
5656
shell: bash
5757

58+
# Step 10
5859
- name: Append Release Warning
5960
run:
60-
echo "> [!WARNING]" >> LatestReleaseNotes.md
61-
echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md
61+
echo "> [!WARNING]\n> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md
62+
#echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md
6263

63-
# Step 10
64+
# Step 11
6465
- name: Create Release
6566
uses: softprops/action-gh-release@v1
6667

.github/workflows/dotnet_release_windows.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,14 @@ jobs:
4545
- name: Create ZIP archives
4646
run: |
4747
cd ./publish
48-
powershell Compress-Archive -Path (Get-ChildItem -Path . -Recurse | Select-Object -ExpandProperty FullName) -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
48+
powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
4949
5050
# Step 9
5151
- name: Create TAR.GZ archives
5252
run: |
5353
cd ./publish
5454
tar -czvf "../WriterSharp_${{ env.VERSION }}_win64.tar.gz" *
5555
56-
- name: Append Release Warning
57-
run:
58-
echo "> [!WARNING]" >> LatestReleaseNotes.md
59-
echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md"
60-
6156
# Step 10
6257
- name: Create Release
6358
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)