Update verification metadata #100
Workflow file for this run
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: Update verification metadata | |
on: | |
workflow_dispatch: | |
jobs: | |
update-verification-metadata: | |
name: Update verification metadata | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Gradle update verification metadata | |
run: ./gradlew --write-verification-metadata sha256 build --no-daemon | |
- name: Commit | |
run: | | |
git config --global user.name "${{ github.actor }}" | |
git config --global user.email "${{ github.actor }}@users.noreply.github.com" | |
git add . | |
git diff-index --quiet HEAD || git commit -am 'Update verification metadata' | |
git push |