check if property is present first #6
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 All | |
on: | |
push: | |
branches: | |
- master | |
env: | |
MAVEN_TOKEN: ${{ secrets.MAVEN_TOKEN }} | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '21' | |
distribution: 'adopt' | |
cache: 'gradle' | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.konan | |
key: ${{ runner.os }}-konan | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: -Pproduction=true build | |
- uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: -Pproduction=true publish |