-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add - ptp - Draft preparation workflow added
--- This is a prototype workflow the making the draft when the tag is pushed. --- Type: add Breaking: False Doc Required: False Part: 1/1
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Prepare release draft | ||
|
||
on: | ||
push: | ||
tags: | ||
- '**' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
- name: Setup docfx | ||
uses: crazy-max/ghaction-chocolatey@v3 | ||
with: | ||
args: install docfx | ||
- name: Release Asset Preparation | ||
run: | | ||
cd tools && build.cmd && cd .. | ||
cd tools && pack.cmd && cd .. | ||
cd tools && docgen.cmd && cd .. | ||
cd tools && docgen-pack.cmd && cd .. | ||
- name: Release Draft Making | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body: "This is a draft release. Fill this with a release snippet from the release sheet made internally." | ||
files: | | ||
tools\*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,3 @@ echo Build and pack successful. | |
goto :finished | ||
|
||
:finished | ||
pause |