Skip to content

fix: resolve configuration loading issue in several actions (#1111) #1005

fix: resolve configuration loading issue in several actions (#1111)

fix: resolve configuration loading issue in several actions (#1111) #1005

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build-test:
name: "Unit Test On ${{ matrix.os }} - jdk${{ matrix.java-version }}"
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java-version: [11,15,17]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'zulu'
- name: test
run: ./gradlew test --stacktrace
- name: package plugin
run: ./plugin-script/package_plugin.sh
- name: Cleanup Gradle Cache
if: runner.os == 'Linux' || runner.os == 'macOS'
# Remove some files from the Gradle cache, so they aren't cached by GitHub Actions.
# Restoring these files from a GitHub Actions cache might cause problems for future builds.
run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
rm -f ~/.gradle/caches/modules-2/gc.properties