File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
22# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
33
4- name : Gradle Build
4+ name : Build
55
66on :
77 push :
2727 # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
2828 # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
2929 - name : Setup Gradle
30- uses : gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
30+ uses : gradle/actions/setup-gradle@v5
3131
3232 - name : Build with Gradle Wrapper
3333 run : ./gradlew build
34-
35- dependency-submission :
36-
37- runs-on : ubuntu-latest
38- permissions :
39- contents : write
40-
41- steps :
42- - uses : actions/checkout@v4
43- - name : Set up JDK 17
44- uses : actions/setup-java@v4
45- with :
46- java-version : ' 17'
47- distribution : ' temurin'
Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ name: Publish Javadoc
22
33on :
44 workflow_run :
5- workflows : [ "Gradle Build" ]
5+ workflows : [ "Build" ]
66 branches : [ "main" ]
77 types :
88 - completed
99
1010jobs :
1111 publish :
1212 runs-on : ubuntu-latest
13- if : ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' }}
13+ if : ${{ github.event.workflow_run.conclusion == 'success'
14+ && github.event.workflow_run.event == 'push' }}
1415 permissions :
1516 contents : write
1617 steps :
Original file line number Diff line number Diff line change 1- [ ![ Build] ( https://github.com/Evref-BL/Java-Flow-Agent/actions/workflows/gradle .yml/badge.svg )] ( https://github.com/Evref-BL/Java-Flow-Agent/actions/workflows/gradle .yml )
1+ [ ![ Build] ( https://github.com/Evref-BL/Java-Flow-Agent/actions/workflows/build .yml/badge.svg )] ( https://github.com/Evref-BL/Java-Flow-Agent/actions/workflows/build .yml )
22[ ![ Javadoc] ( https://img.shields.io/badge/JavaDoc-Online-green )] ( https://Evref-BL.github.io/Java-Flow-Agent/ )
33
44# Flow Agent
You can’t perform that action at this time.
0 commit comments