File tree Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Build Kotlin spec in its Docker container'
2
2
runs :
3
3
using : ' docker'
4
- image : ' ./docker/Dockerfile'
4
+ image : ' ../../.. /docker/Dockerfile'
5
5
entrypoint : ' /build-spec.sh'
Original file line number Diff line number Diff line change
1
+ name : ' Upload Kotlin spec artifacts'
2
+ runs :
3
+ using : ' composite'
4
+ steps :
5
+ - name : ' Upload Kotlin spec PDF artifacts'
6
+ uses : actions/upload-artifact@v3
7
+ with :
8
+ name : kotlin-spec-pdf
9
+ path : |
10
+ build/spec/pdf/
11
+ - name : ' Upload Kotlin spec HTML artifacts'
12
+ uses : actions/upload-artifact@v3
13
+ with :
14
+ name : kotlin-spec-html
15
+ path : |
16
+ build/spec/html/
Original file line number Diff line number Diff line change 1
- name : ' Build Kotlin spec on PRs (version 2 )'
1
+ name : ' Build Kotlin spec on PRs (Docker version )'
2
2
3
3
on : [pull_request]
4
4
10
10
uses : actions/checkout@v3
11
11
- name : ' Build Kotlin spec in its Docker container'
12
12
uses : ./.github/actions/build-spec-in-docker
13
+ - name : ' Upload Kotlin spec artifacts'
14
+ uses : ./.github/actions/upload-spec-artifacts
Original file line number Diff line number Diff line change 6
6
build-spec :
7
7
runs-on : ubuntu-20.04
8
8
steps :
9
+ - name : Checkout repo
10
+ uses : actions/checkout@v3
9
11
- name : Setup Java 11
10
12
uses : actions/setup-java@v3
11
13
with :
@@ -26,19 +28,19 @@ jobs:
26
28
sudo apt-get install -y gpp
27
29
sudo apt-get install -y librsvg2-bin
28
30
sudo apt-get install -y npm
29
- curl -sL https://deb.nodesource.com/setup_18.x | bash -
31
+ curl -sL https://deb.nodesource.com/setup_18.x | sudo bash -
30
32
sudo apt-get install -y nodejs
31
33
sudo apt-get install -y --no-install-recommends texlive-latex-extra
32
34
sudo apt-get install -y --no-install-recommends texlive-fonts-extra
33
35
sudo apt-get install -y --no-install-recommends texlive-bibtex-extra
34
36
sudo apt-get install -y --no-install-recommends texlive-science
35
37
sudo apt-get install -y --no-install-recommends fontconfig
36
38
sudo apt-get install -y --no-install-recommends lmodern
37
- - name : Checkout repo
38
- uses : actions/checkout@v3
39
39
- name : Build Kotlin spec
40
40
run : |
41
41
./gradlew buildPdf buildWeb
42
42
- name : Smoke test Kotlin grammar
43
43
run : |
44
44
./gradlew :grammar:jar
45
+ - name : ' Upload Kotlin spec artifacts'
46
+ uses : ./.github/actions/upload-spec-artifacts
You can’t perform that action at this time.
0 commit comments