Skip to content

Commit cb53fb0

Browse files
Tweak CI
1 parent 8a1c4fe commit cb53fb0

3 files changed

Lines changed: 6 additions & 19 deletions

File tree

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
on:
77
push:
@@ -27,21 +27,7 @@ jobs:
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'
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@ name: Publish Javadoc
22

33
on:
44
workflow_run:
5-
workflows: [ "Gradle Build" ]
5+
workflows: [ "Build" ]
66
branches: [ "main" ]
77
types:
88
- completed
99

1010
jobs:
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:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

0 commit comments

Comments
 (0)