Skip to content

migrate to gradle/actions/setup-gradle@v4 #641

migrate to gradle/actions/setup-gradle@v4

migrate to gradle/actions/setup-gradle@v4 #641

Workflow file for this run

name: Build
on: [ push, pull_request ]
jobs:
build-mirai:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Build all
run: ./gradlew assemble
- name: All Tests
run: |
./gradlew
check
-Dmirai.network.show.all.components=true
-Dkotlinx.coroutines.debug=on
-Dmirai.network.show.packet.details=true
- name: Upload build artifacts
uses: ./.github/actions/upload-build-artifacts