diff --git a/.github/workflows/actionsBuild.yml b/.github/workflows/actionsBuild.yml index b92d9425..d61ec2d3 100644 --- a/.github/workflows/actionsBuild.yml +++ b/.github/workflows/actionsBuild.yml @@ -1,6 +1,9 @@ name: actionsBuildApp -on: [ push ] +on: + push: + pull_request: + branches: [ "main" ] env: JAVA_VERSION: 21 diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml new file mode 100644 index 00000000..25c22294 --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,21 @@ +name: Update Gradle Wrapper + +on: + schedule: + - cron: "0 0 * * *" + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v4 + if: ${{ matrix.os != 'self-hosted' }} + with: + distribution: 'temurin' + java-version: '21' + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v2 \ No newline at end of file