forked from modelica/ModelicaStandardLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.11 KB
/
generateReleaseNotes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: GenerateReleaseNotes
on:
workflow_dispatch:
inputs:
milestone:
description: 'Milestone number of the release'
default: '61'
required: true
version:
description: 'Version of the release'
default: '4.1.0'
required: true
jobs:
generate_release_notes:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install python packages
run: pip install --user requests
- name: Generate MSL release notes from closed GitHub issues
timeout-minutes: 3
run: python ./Modelica/Resources/Documentation/Generate-ReleaseNotes.py ${{ github.event.inputs.milestone }} ${{ github.event.inputs.version }}
- uses: actions/upload-artifact@v3
with:
name: ResolvedGitHubIssues-Version-${{ github.event.inputs.version }}
path: ./Modelica/Resources/Documentation/Version-${{ github.event.inputs.version }}/