Skip to content

Merge pull request #15 from devcordde/renovate/actions-checkout-4.x #12

Merge pull request #15 from devcordde/renovate/actions-checkout-4.x

Merge pull request #15 from devcordde/renovate/actions-checkout-4.x #12

Workflow file for this run

name: Gradle Upload
on:
push:
branches:
- main
jobs:
upload:
name: Upload to server
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
- name: Publish
run: ./gradlew uploadJar
env:
UPLOAD_URL: ${{ secrets.UPLOAD_URL }}