Skip to content

Only publish on tag, build on main #1

Only publish on tag, build on main

Only publish on tag, build on main #1

Workflow file for this run

name: Gradle Upload
on:
push:
branches:
- main
jobs:
upload:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: gradle/wrapper-validation-action@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 21
- name: Build with Gradle
run: ./gradlew --build-cache test build