Skip to content

Commit 045a7fb

Browse files
Remove auto release creation on any push
1 parent 15dc57a commit 045a7fb

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,3 @@ jobs:
2929

3030
- name: Build
3131
run: dotnet build --no-restore -c Debug
32-
33-
- name: Rename DLL for Release
34-
run: |
35-
mkdir -p release
36-
cp "bin/Debug/netstandard2.1/ii's Stupid Menu.dll" release/iis_Stupid_Menu.dll
37-
38-
- name: Get commit data
39-
id: vars
40-
run: |
41-
echo "commit_id=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
42-
echo "msg=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
43-
44-
- name: Create Pre-Release
45-
if: github.event_name != 'pull_request'
46-
uses: softprops/action-gh-release@v2
47-
with:
48-
tag_name: beta-${{ steps.vars.outputs.commit_id }}
49-
name: Pre-Release ${{ steps.vars.outputs.commit_id }}
50-
body: |
51-
# ⚠️ THIS IS A PRE-RELEASE BUILD! ⚠️
52-
⚠️ This version may be unstable, with bugs and issues that could cause crashes, data loss, or other unexpected behavior.
53-
It is intended for testing and feedback purposes only.
54-
**Use at your own risk - only proceed if you know what you're doing!**
55-
56-
${{ steps.vars.outputs.msg }}
57-
draft: false
58-
prerelease: true
59-
files: release/iis_Stupid_Menu.dll
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)