Skip to content

Commit

Permalink
imp - Automatic release draft shipped widely
Browse files Browse the repository at this point in the history
---

Instead of using our Internet connection to upload the assets manually, we need to automate this process. This saves time and bandwidth.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 18, 2024
1 parent e91b439 commit 9ba180a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/prepdraft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Prepare release draft

on:
push:
tags:
- '**'

jobs:
build:

runs-on: windows-latest
permissions:
contents: write
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."
draft: true
files: |
tools/*.zip

0 comments on commit 9ba180a

Please sign in to comment.