Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jreij committed Dec 11, 2024
1 parent 3ca1347 commit bd2ba76
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .github/workflows/update_verification_metadata.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Update verification metadata

on:
push:
branches:
- 'renovate/android.gradle.plugin'
workflow_dispatch:

jobs:
Expand All @@ -11,29 +14,28 @@ jobs:
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

- name: Gradle cache
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Gradle update verification metadata
run: ./gradlew --write-verification-metadata sha256 build
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}

# - name: Set up JDK
# uses: actions/setup-java@v4
# with:
# distribution: 'zulu'
# java-version: 17
#
# - name: Gradle cache
# uses: gradle/actions/setup-gradle@v4
# with:
# cache-read-only: true
#
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
#
# - name: Gradle update verification metadata
# run: ./gradlew --write-verification-metadata sha256 build

- name: Commit
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
touch test_file.txt
git add .
git diff-index --quiet HEAD || git commit -am 'Update verification metadata'
git push

0 comments on commit bd2ba76

Please sign in to comment.