Skip to content

Commit b2b9fbb

Browse files
committed
.NET Workflows
1 parent af53464 commit b2b9fbb

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/dotnet_release_linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,17 @@ jobs:
5858
# Step 10
5959
- name: Append Release Warning
6060
run: |
61-
echo "> [!WARNING]" >> LatestReleaseNotes.md
61+
echo "> [!CAUTION]" >> LatestReleaseNotes.md
6262
echo "Output Part 1"
63-
echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md
63+
echo "> The following binaries were not compiled manually. **Use them at your own risk!**" >> LatestReleaseNotes.md
6464
echo "Output Part 2"
6565
6666
# Step 11
6767
- name: Create Release
6868
uses: softprops/action-gh-release@v1
6969

7070
with:
71+
name: WriterSharp ${{ env.VERSION }}
7172
body_path: LatestReleaseNotes.md
7273
generate_release_notes: true
7374
files: |

.github/workflows/dotnet_release_windows.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,26 @@ jobs:
3737
run: dotnet publish --configuration Release --runtime win-x64 --framework net8.0 -p:Optimize=true --output ./publish
3838

3939
# Step 7
40-
- name: Get version from tag
41-
id: get_version
42-
run: echo "VERSION=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')" >> $GITHUB_ENV
43-
44-
# Step 8
4540
- name: Create ZIP archives
4641
run: |
4742
cd ./publish
48-
powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
43+
powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_win64.zip"
4944
50-
# Step 9
45+
# Step 8
5146
- name: Create TAR.GZ archives
5247
run: |
5348
cd ./publish
54-
tar -czvf "../WriterSharp_${{ env.VERSION }}_win64.tar.gz" *
49+
tar -czvf "../WriterSharp_win64.tar.gz" *
5550
56-
# Step 10
51+
# Step 9
5752
- name: Append Release Warning
5853
run: |
59-
echo "> [!WARNING]" >> LatestReleaseNotes.md
54+
echo "> [!CAUTION]" >> LatestReleaseNotes.md
6055
echo "Output Part 1"
61-
echo "> The following binaries were not compiled manually. Use them at your own risk." >> LatestReleaseNotes.md
56+
echo "> The following binaries were not compiled manually. **Use them at your own risk.**" >> LatestReleaseNotes.md
6257
echo "Output Part 2"
6358
64-
# Step 11
59+
# Step 10
6560
- name: Create Release
6661
uses: softprops/action-gh-release@v1
6762

0 commit comments

Comments
 (0)