Skip to content

Commit

Permalink
Attempt to generate screenshots in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinRNDR committed Apr 27, 2020
1 parent 45c9ca1 commit 5b94c31
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generate screenshots
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-bionic
steps:
- uses: openrndr/setup-opengl@v1
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 14
- name: Collect screenshots
run: xvfb-run ./gradlew collectScreenshots
- uses: stefanzweifel/git-auto-commit-action@v4.1.5
with:
commit_message: Add generated screenshots
file_pattern: "**/*.png"
repository: .
commit_user_name: edwinRNDR
commit_user_email: edwin@rndr.studio
commit_author: edwinRNDR <edwin@rndr.studio>

0 comments on commit 5b94c31

Please sign in to comment.