Skip to content

Gradle Wrapper Upgrade #315

Gradle Wrapper Upgrade

Gradle Wrapper Upgrade #315

name: 'Gradle Wrapper Upgrade'
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'
jobs:
upgrade-gradle-wrapper:
runs-on: ubuntu-latest
env:
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.WRAPPER_UPGRADE_GH_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup git
run: |
git config --global user.email "31736373+iokibot@users.noreply.github.com"
git config --global user.name "iokibot"
git config --global url."https://unused-username:${WRAPPER_UPGRADE_GIT_TOKEN}@github.com/".insteadOf "https://github.com/"
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: Upgrade Gradle Wrapper
run: ./gradlew upgradeGradleWrapperAll