Skip to content

chore(github): use Java 17 to build with GA. #58

chore(github): use Java 17 to build with GA.

chore(github): use Java 17 to build with GA. #58

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Gradle
run: |
./gradlew build -Dorg.gradle.jvmargs=-Xmx1g
./gradlew publishIfNeeded
env: # Or as an environment variable
SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
IO_OPENFEEDBACK_PROFILE_ID: ${{ secrets.IO_OPENFEEDBACK_PROFILE_ID }}
OPENFEEDBACK_GPG_PRIVATE_KEY: ${{ secrets.OPENFEEDBACK_GPG_PRIVATE_KEY }}
OPENFEEDBACK_GPG_PRIVATE_KEY_PASSWORD: ${{ secrets.OPENFEEDBACK_GPG_PRIVATE_KEY_PASSWORD }}