diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2531321..a2e566c 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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: @@ -19,19 +19,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - - name: Build with Gradle - uses: gradle/gradle-build-action@bc3340afc5e3cc44f2321809ac090d731c13c514 - 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 + - name: Checkout sources + uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + - name: Execute Gradle build + run: ./gradlew build + env: + ossrhUsername: ${{secrets.OSSRHUSERNAME}} + ossrhPassword: ${{secrets.OSSRHPASSWORD}} + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos diff --git a/.idea/runConfigurations/net_extensions__build___warning_mode_all_.xml b/.idea/runConfigurations/net_extensions__build___warning_mode_all_.xml new file mode 100644 index 0000000..7fd13cd --- /dev/null +++ b/.idea/runConfigurations/net_extensions__build___warning_mode_all_.xml @@ -0,0 +1,33 @@ + + + + + + + true + true + + + + + + 5.0 + + + + false + false + + + diff --git a/.idea/runConfigurations/net_extensions__build___warning_mode_all__.xml b/.idea/runConfigurations/net_extensions__build___warning_mode_all__.xml index 329dd90..703d1f5 100644 --- a/.idea/runConfigurations/net_extensions__build___warning_mode_all__.xml +++ b/.idea/runConfigurations/net_extensions__build___warning_mode_all__.xml @@ -20,4 +20,4 @@ false - \ No newline at end of file + diff --git a/.idea/runConfigurations/net_extensions__clean_.xml b/.idea/runConfigurations/net_extensions__clean_.xml index cda7e03..135b5f6 100644 --- a/.idea/runConfigurations/net_extensions__clean_.xml +++ b/.idea/runConfigurations/net_extensions__clean_.xml @@ -15,7 +15,19 @@