Update screenshot baseline #75
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 screenshot baseline" | |
on: | |
workflow_dispatch: | |
jobs: | |
screenshots_baseline: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Run Roborazzi Record | |
run: 'bash ./gradlew clean recordRoborazziDebug' | |
- name: Check Git status | |
run: 'git status' | |
shell: bash | |
- name: Commit and push screenshots baseline | |
id: commitAndPushScreenshotsBaseline | |
uses: EndBug/add-and-commit@v7 | |
with: | |
message: 'Updated screenshots baseline' | |
add: './**/screenshots/*' |