Execute Wrapper Upgrade #961
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Execute Wrapper Upgrade | |
on: | |
schedule: | |
- cron: '0 2 * * *' | |
workflow_dispatch: | |
jobs: | |
upgrade_wrapper: | |
name: Execution | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git configuration | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: git config --global url."https://unused-username:${TOKEN}@github.com/".insteadOf "https://github.com/" | |
- name: Import GPG key | |
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 | |
with: | |
gpg_private_key: ${{ secrets.GH_BOT_PGP_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GH_BOT_PGP_PASSPHRASE }} | |
git_user_signingkey: true | |
git_commit_gpgsign: true | |
git_config_global: true | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
develocity-access-key: ${{ secrets.GE_SOLUTIONS_ACCESS_TOKEN }} | |
- name: Upgrade Wrappers | |
run: ./gradlew clean upgradeGradleWrapperAll --continue -Porg.gradle.java.installations.auto-download=false | |
env: | |
WRAPPER_UPGRADE_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} |