File tree 2 files changed +41
-2
lines changed
2 files changed +41
-2
lines changed Original file line number Diff line number Diff line change
1
+ # # This allows Github actions to build this project and publish the PDF to github.
2
+ name : Build and Tag
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v1
15
+
16
+ - name : Set up JDK 1.8
17
+ uses : actions/setup-java@v1
18
+ with :
19
+ java-version : 1.8
20
+
21
+ - name : Build with Maven
22
+ run : mvn -B package --file pom.xml
23
+
24
+ - name : Bump version and push tag
25
+ id : bump
26
+ uses : anothrNick/github-tag-action@master
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29
+ WITH_V : true
30
+ DEFAULT_BUMP : patch
31
+
32
+ - name : Upload binaries to release
33
+ uses : svenstaro/upload-release-action@v1-release
34
+ with :
35
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
36
+ file : ebook/target/generated-docs/building-an-api-backend-with-microprofile.pdf
37
+ asset_name : building-an-api-backend-with-microprofile.pdf
38
+ tag : ${{ steps.bump.outputs.new_tag }}
39
+ overwrite : true
Original file line number Diff line number Diff line change 30
30
<description >Ebook - Building an API Backend with MicroProfile</description >
31
31
32
32
<properties >
33
- <asciidoctor-maven .version>1.5.7.1 </asciidoctor-maven .version>
34
- <asciidoctorj-pdf .version>1.5.0-alpha.16 </asciidoctorj-pdf .version>
33
+ <asciidoctor-maven .version>1.6.0 </asciidoctor-maven .version>
34
+ <asciidoctorj-pdf .version>1.5.0-beta.8 </asciidoctorj-pdf .version>
35
35
<license >Apache License v 2.0</license >
36
36
<maven .build.timestamp.format>MMMM dd, yyyy</maven .build.timestamp.format>
37
37
<revisiondate >${maven.build.timestamp}</revisiondate >
You can’t perform that action at this time.
0 commit comments