forked from qbs/qbs
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 925 Bytes
/
docs.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
36
37
38
name: Build and Qbs docs
on:
push:
paths:
- 'doc/**'
- 'examples/**'
- 'scripts/build-qbs-doc.sh'
- 'VERSION'
jobs:
build-docs:
name: ${{ matrix.config.name }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
config:
- {
name: 'Build Qbs Docs',
options: '',
script: './scripts/build-qbs-doc.sh'
}
env:
BUILD_OPTIONS: ${{ matrix.config.options }}
WITH_TESTS: 0
steps:
- uses: actions/checkout@v1
- name: Pull the Focal Image
run: docker-compose pull focal
- name: Build Qbs Docs
run: docker-compose run focal ${{ matrix.config.script }}
- name: Upload artifacts
uses: 'actions/upload-artifact@v2'
with:
name: qbs-docs-${{ github.run_id }}
path: documentation/install-root/usr/local/share/doc/qbs/