-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 947 Bytes
/
release-notes.yaml
File metadata and controls
35 lines (32 loc) · 947 Bytes
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: Generate Release Notes
on:
workflow_dispatch:
inputs:
last-date:
description: 'Last release date'
required: true
default: '2024-01-01'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
get-notes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Stanc3 notes
run: python release-scripts/release-notes.py stanc3 --time ${{ inputs.last-date }} > stanc3.txt
- name: Create CmdStan notes
run: python release-scripts/release-notes.py cmdstan > cmdstan.txt
- name: Create Math notes
run: python release-scripts/release-notes.py math > math.txt
- name: Create Stan notes
run: python release-scripts/release-notes.py stan > stan.txt
- name: Upload
uses: actions/upload-artifact@v4
with:
name: release-notes
path: |
stanc3.txt
cmdstan.txt
math.txt
stan.txt