Skip to content

Merge pull request #80 from EternalHuman/master #225

Merge pull request #80 from EternalHuman/master

Merge pull request #80 from EternalHuman/master #225

Workflow file for this run

name: Build
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew test build --no-daemon
- name: Publish with Gradle
if: github.ref == 'refs/heads/master'
env:
GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
USERNAME: ${{ secrets.REPO_USER }}
TOKEN: ${{ secrets.REPO_TOKEN }}
run: ./gradlew publish --no-daemon