Merge pull request #15 from ome/dependabot/maven/org.openmicroscopy-s… #26
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: Generate schemas pages | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: 'zulu' | |
cache: 'maven' | |
- name: Build with Maven | |
run: mvn clean package | |
- name: Commit files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add AnalysisChain AnalysisModule BinaryFile CA CLI DataHistory | |
git add Editor MLI OME OMERO ROI SA SPW STD Transforms index.html | |
git commit -m "Generate Schemas pages" || echo "No changes to commit" | |
- name: Push changes | |
if: ${{ github.event_name == 'push' }} | |
uses: ad-m/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |