Skip to content

Commit ba1840d

Browse files
author
Christoph Bühler
committed
chore: use linux to build changelog
1 parent dcda3f1 commit ba1840d

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/github-pages.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ on:
55
branches: [master]
66

77
jobs:
8+
build-changelog:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Create Changelog
13+
uses: heinrichreimer/[email protected]
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
output: CHANGELOG.md
17+
- name: Upload changelog
18+
uses: actions/upload-artifact@v2
19+
with:
20+
name: changelog
21+
path: CHANGELOG.md
822
build-gh-pages:
923
runs-on: windows-latest
1024
steps:
@@ -22,11 +36,12 @@ jobs:
2236
- name: Build Solution
2337
run: .\build.ps1 --target Compile --no-logo
2438
shell: powershell
25-
- name: Create Changelog
26-
uses: heinrichreimer/[email protected]
39+
- name: Download docs artifact
40+
id: cl
41+
uses: actions/download-artifact@v2
2742
with:
28-
token: ${{ secrets.GITHUB_TOKEN }}
29-
output: docs/CHANGELOG.md
43+
name: changelog
44+
path: docs
3045
- name: Build Documentation
3146
run: docfx docs/docfx.json
3247
- name: Upload docs artifact

0 commit comments

Comments
 (0)