Skip to content

Update verification metadata #105

Update verification metadata

Update verification metadata #105

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