Skip to content

entry navigator

entry navigator #635

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [17-jdk, 20-jdk]
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/checkout@v3
- run: ./gradlew checkstyleMain build --stacktrace --warning-mode fail
- name: Publish Snapshot
if: ${{ matrix.java == '17-jdk' && github.repository_owner == 'QuiltMC' && contains(github.ref_name, 'develop') }}
run: ./gradlew publish --stacktrace
env:
SNAPSHOTS_URL: ${{ secrets.SNAPSHOTS_URL }}
SNAPSHOTS_USERNAME: ${{ secrets.SNAPSHOTS_USERNAME }}
SNAPSHOTS_PASSWORD: ${{ secrets.SNAPSHOTS_PASSWORD }}