35
35
- name : Make documentation available
36
36
run : |
37
37
mvn -B -Pbuild-documentation -Dstyle.color=always -DskipTests=true package
38
+ - name : Upload documentation
38
39
- uses : actions/upload-artifact@v4
39
40
with :
40
41
name : docs
@@ -60,16 +61,19 @@ jobs:
60
61
distribution : ' graalvm'
61
62
github-token : ${{ secrets.GITHUB_TOKEN }}
62
63
native-image-job-reports : ' true'
63
- - uses : actions/download-artifact@v4
64
64
- name : Download documentation
65
+ - uses : actions/download-artifact@v4
66
+ with :
67
+ name : docs
65
68
run : |
66
69
mkdir -p ./cli/target/package
67
70
mv ./docs/*.pdf ./cli/target/package
68
- - name : Build native images with native maven plugin and archive in tar.gz
71
+ - name : Build native image
69
72
shell : bash
70
73
run : |
71
74
cd cli
72
75
mvn -B -ntp -P${{ matrix.os }} '-P!build-documentation' -DskipTests=true package
76
+ - name : Upload natives
73
77
- uses : actions/upload-artifact@v4
74
78
with :
75
79
name : natives-${{ matrix.os }}
@@ -90,10 +94,10 @@ jobs:
90
94
uses : actions/setup-java@v1
91
95
with :
92
96
java-version : ' 17'
97
+ - name : Download natives and build project
93
98
- uses : actions/download-artifact@v4
94
99
with :
95
100
pattern : natives-*
96
- - name : Download natives and build project
97
101
run : |
98
102
mvn -B -ntp -Dstyle.color=always install
99
103
mv ./natives-windows-latest/* ./cli/target/
0 commit comments