File tree Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Pull Request
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ container :
12+ image : ghcr.io/dash-industry-forum/dashif-specs:latest
13+ credentials :
14+ username : ${{ github.actor }}
15+ password : ${{ secrets.github_token }}
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Build
20+ env :
21+ # Reset OPTS to empty to make sure we are not using
22+ # interactive mode in CI
23+ OPTS :
24+ run : make -f /tools/Makefile spec SRC=Guidelines-TimingModel.bs.md NAME=Timing-Model
25+
26+ - name : Archive
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : dist
30+ path : dist/
Original file line number Diff line number Diff line change 1+ name : Publish
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+ permissions :
10+ contents : read
11+ packages : read
12+ pages : write
13+ id-token : write
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+ container :
19+ image : ghcr.io/dash-industry-forum/dashif-specs:latest
20+ credentials :
21+ username : ${{ github.actor }}
22+ password : ${{ secrets.github_token }}
23+
24+ steps :
25+ - uses : actions/checkout@v4
26+ - name : Build
27+ env :
28+ # Reset OPTS to empty to make sure we are not using
29+ # interactive mode in CI
30+ OPTS :
31+ run : make -f /tools/Makefile spec SRC=Guidelines-TimingModel.bs.md NAME=Timing-Model
32+
33+ - name : Archive
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : dist
37+ path : dist/
38+
39+ package :
40+ runs-on : ubuntu-latest
41+ needs : build
42+ steps :
43+ - uses : actions/download-artifact@v4
44+ with :
45+ name : dist
46+ path : dist
47+ - uses : actions/upload-pages-artifact@v3
48+ with :
49+ path : dist
50+
51+ publish :
52+ runs-on : ubuntu-latest
53+ needs : package
54+ steps :
55+ - name : Deploy to GitHub Pages
56+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments