File tree Expand file tree Collapse file tree 8 files changed +68
-741
lines changed
Expand file tree Collapse file tree 8 files changed +68
-741
lines changed Original file line number Diff line number Diff line change 1414 runs-on : ubuntu-24.04
1515
1616 steps :
17- - name : checkout
18- uses : actions/checkout@v4
17+ - name : Checkout
18+ uses : actions/checkout@v4.1.7
19+ with :
20+ submodules : recursive
21+
1922 - name : Generate revnumber
2023 run : |
2124 [[ $GITHUB_REF_TYPE == "tag" ]] && REVNUMBER=${GITHUB_REF:11} || REVNUMBER=${GITHUB_SHA:0:7}
@@ -24,26 +27,28 @@ jobs:
2427 echo GITHUB_REF: $GITHUB_REF
2528 echo REVNUMBER: $REVNUMBER
2629 echo "REVNUMBER=$REVNUMBER" >> $GITHUB_ENV
27- - name : Create build directory
28- run : |
29- mkdir -p build/schema
30- mkdir -p build/images
31- - name : build layered standard struct
30+
31+ - name : Generate HTML
3232 uses : avattathil/asciidoctor-action@master
3333 with :
34- program : " asciidoctor -D build --backend=html5 --attribute=revnumber=${{ env.REVNUMBER }} --attribute=revdate=$(date +%F) docs/index.adoc"
35- - name : Copy resources
36- run : |
37- cp LICENSE.txt build
38- cp schema/*.xsd build/schema
39- cp docs/images/favicon.ico build/images
40- cp docs/images/*.svg build/images
41- - name : archive layered standard struct
42- uses : actions/upload-artifact@v4
34+ program : asciidoctor --attribute=revnumber=${{ env.REVNUMBER }} --attribute=revdate=$(date +%F) docs/index.adoc
35+
36+ - name : Copy license
37+ run : cp LICENSE.txt docs
38+
39+ - name : Create ZIP archive
40+ uses : actions/upload-artifact@v5
4341 with :
44- name : FMI-LS-STRUCT
45- path : build/*
42+ name : FMI-LS-Struct
43+ path : |
44+ docs/index.html
45+ docs/LICENSE.txt
46+ docs/images/*.svg
47+ docs/theme/css/*.css
48+ docs/theme/images/*.svg
49+ docs/theme/js/*.js
4650 if-no-files-found : error
51+
4752 - name : extract branch name
4853 id : extract_branch
4954 shell : bash
Original file line number Diff line number Diff line change 1+ [submodule "docs/theme "]
2+ path = docs/theme
3+ url = git@github.com:modelica/ma-asciidoctor-theme.git
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments