Skip to content

Commit

Permalink
fix of github action script
Browse files Browse the repository at this point in the history
  • Loading branch information
astrapi69 committed Dec 22, 2023
1 parent c1a50d5 commit 1861f20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: Java CI with Gradle

on:
push:
branches: [ develop ]
branches: [ main, develop ]
pull_request:
branches: [ develop ]
branches: [ main, develop ]

jobs:
build:
Expand All @@ -26,12 +26,12 @@ jobs:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
uses: gradle/gradle-build-action@v2.8.0
with:
arguments: build
env:
ossrhUsername: ${{secrets.OSSRHUSERNAME}}
ossrhPassword: ${{secrets.OSSRHPASSWORD}}
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos

0 comments on commit 1861f20

Please sign in to comment.