Skip to content

Fix publish workflow #70

Fix publish workflow

Fix publish workflow #70

Workflow file for this run

name: Build and test
on: [push, pull_request]
jobs:
test:
name: Build and test
runs-on: macOS-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- name: Debug build
run: ./gradlew assembleDebug --stacktrace
- name: API check
run: ./gradlew apiCheck
- name: Unit test
run: ./gradlew allTests test --stacktrace
env:
IS_CI_TEST: yup
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-results
path: '*/build/reports/tests'