Bump org.codehaus.mojo:mojo-parent from 85 to 86 #90
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: Site CI | |
on: | |
push: | |
branches: | |
- '*' | |
- '!master' | |
pull_request: | |
branches: | |
- '*' | |
- '!master' | |
jobs: | |
check-keys: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: check keys file format | |
run: ./.github/workflows/check_keys.sh | |
site: | |
runs-on: ubuntu-latest | |
needs: check-keys | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Setup deploy | |
id: setup | |
if: github.event_name == 'push' && github.repository_owner == 'mojohaus' && github.ref == 'refs/heads/site' | |
run: | | |
git config --global user.email "${{ github.event.head_commit.author.email }}" | |
git config --global user.name "${{ github.event.head_commit.author.name }}" | |
echo "deploy=-deploy -Dusername=git -Dpassword=${{ github.token }} -Dscmpublish.checkinComment='Site checkin for ${{ github.event.head_commit.id }}'" >> $GITHUB_OUTPUT | |
- name: Build with Maven | |
run: mvn --show-version --errors --batch-mode --update-snapshots clean site${{ steps.setup.outputs.deploy }} |