Skip to content

Commit 852d54d

Browse files
committed
Add workflow to update generated headers
1 parent 6772e84 commit 852d54d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Update generated headers
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
jobs:
7+
filelists:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Setup
12+
run: |
13+
sudo apt update
14+
sudo apt install -y libboost-dev
15+
- name: Configure
16+
run: |
17+
./autogen.sh
18+
./configure
19+
- name: Update headers
20+
run: |
21+
find ql -name *.am | xargs touch
22+
make dist
23+
rm QuantLib-*.tar.gz
24+
- uses: peter-evans/create-pull-request@v4
25+
with:
26+
token: ${{ secrets.GITHUB_TOKEN }}
27+
branch: update-generated-headers-${{ github.ref }}
28+
delete-branch: true
29+
commit-message: 'Update generated headers'
30+
title: 'Update generated headers'
31+
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

0 commit comments

Comments
 (0)