This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
Update actions/setup-java action to v4 #399
Workflow file for this run
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 8 | |
- run: mvn --no-transfer-progress verify source:jar javadoc:jar | |
- run: mvn --no-transfer-progress deploy --settings=".github/workflows/settings.xml" -Dmaven.test.skip=true | |
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'square/javapoet' }} |