Skip to content

Merge pull request #11 from rhysdh540/master #15

Merge pull request #11 from rhysdh540/master

Merge pull request #11 from rhysdh540/master #15

Workflow file for this run

name: build
on: [ push ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- name: :build
run: ./gradlew build -x test --stacktrace
- name: :test
run: ./gradlew test --stacktrace
- name: Upload binaries
uses: actions/upload-artifact@v3
with:
name: ZSON
path: "build/libs/*.jar"
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: Test Results
path: "build/reports/tests/**"