Skip to content

Commit 9513429

Browse files
author
Matthew Bate
committed
Workflow Updated
1 parent 3af5622 commit 9513429

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,17 @@ jobs:
157157
with:
158158
name: ${{ env.OUTPUT_NAME }}-${{ env.VERSION }}
159159
path: ./${{ env.OUTPUT_NAME }}-${{ env.VERSION }}.zip
160-
retention-days: 30
160+
retention-days: 30
161+
162+
- name: Create GitHub Pre-release
163+
uses: softprops/action-gh-release@v2
164+
if: github.event_name != 'pull_request'
165+
with:
166+
tag_name: ${{ env.VERSION }}
167+
name: Pre-release Development Build ${{ env.VERSION }}
168+
body: |
169+
This is an automated pre-release development build for commit ${{ env.VERSION }}.
170+
prerelease: true
171+
files: ./${{ env.OUTPUT_NAME }}-${{ env.VERSION }}.zip
172+
env:
173+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)