Skip to content

Commit

Permalink
Push real screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed May 15, 2024
1 parent 14a33e7 commit 91c025e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 20 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,17 @@ jobs:
with:
ref: ${{ github.head_ref }}

- name: Test push
run: echo "Hello" > hello.txt
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 17

- name: Generate screenshots
run: ./gradlew updateScreenshotTest

- name: Commit & Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Test push
push_options: --force

# - name: Set up JDK
# uses: actions/setup-java@v4
# with:
# distribution: adopt
# java-version: 17
#
# - name: Generate screenshots
# run: ./gradlew updateScreenshotTest
#
# - name: Commit & Push changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: New @Preview screenshots!
# push_options: --force
commit_message: New @Preview screenshots!
push_options: --force
1 change: 0 additions & 1 deletion hello.txt

This file was deleted.

0 comments on commit 91c025e

Please sign in to comment.