File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-java@v2
14+ with :
15+ distribution : ' temurin'
16+ java-version : ' 17'
17+ - name : Build with Maven
18+ run : ant -f resources/build.xml
19+ deploy :
20+ needs : build
21+ runs-on : ubuntu-latest
22+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
23+ permissions :
24+ contents : read # to read the artifact
25+ pages : write # to deploy to Pages
26+ id-token : write # to verify the deployment originates from an appropriate source
27+ # Deploy to the github-pages environment
28+ concurrency :
29+ group : " pages"
30+ cancel-in-progress : true
31+ environment :
32+ name : github-pages
33+ url : ${{ steps.deployment.outputs.page_url }}
34+ steps :
35+ - name : Setup Pages
36+ uses : actions/configure-pages@v5
37+ - name : Upload artifact
38+ uses : actions/upload-artifact@v3
39+ with :
40+ name : distribution/javadoc
41+ - name : Deploy to GitHub Pages
42+ id : deployment
43+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments