From a3f50c14b58305c8af450f57c1e5732f09cdca85 Mon Sep 17 00:00:00 2001 From: Caner Karaca <37447503+CanerKaraca23@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:38:04 +0300 Subject: [PATCH] Create update-gradle-wrapper.yml --- .github/workflows/update-gradle-wrapper.yml | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/update-gradle-wrapper.yml diff --git a/.github/workflows/update-gradle-wrapper.yml b/.github/workflows/update-gradle-wrapper.yml new file mode 100644 index 0000000..9aab2a5 --- /dev/null +++ b/.github/workflows/update-gradle-wrapper.yml @@ -0,0 +1,25 @@ +name: Update Gradle Wrapper + +on: + schedule: + - cron: "0 0 * * *" + workflow_dispatch: + +jobs: + update-gradle-wrapper: + runs-on: ubuntu-latest + steps: + - name: Checkout the code + uses: actions/checkout@v4 + + - name: Set up Java + uses: actions/setup-java@v4 + with: + distribution: "temurin" + java-version: 21 + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Update Gradle Wrapper + uses: gradle-update/update-gradle-wrapper-action@v1