Skip to content

Commit ee28716

Browse files
authored
Update publish.yml
1 parent 2d26c93 commit ee28716

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,16 @@ jobs:
2424
with:
2525
token: ${{ secrets.CI_TOKEN }}
2626
submodules: true
27-
- name: Set up JDK 17
27+
- name: Build Project
28+
timeout-minutes: 10
2829
uses: actions/setup-java@v4
2930
with:
3031
java-version: '17'
3132
distribution: 'temurin'
32-
- name: Build with Gradle
33-
timeout-minutes: 10
34-
uses: gradle/gradle-build-action@v3
33+
- run: ./gradlew build publishPlugins --no-daemon
3534
env:
3635
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
3736
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
38-
with:
39-
arguments: build publishPlugins --no-daemon
4037
- name: Upload test reports
4138
uses: actions/upload-artifact@v4
4239
if: always()

0 commit comments

Comments
 (0)