fix publishing ci code #1037
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
gradle-properties-version: [ 242, 243 ] | |
platform-type: [ RR, PC ] | |
runs-on: ubuntu-latest | |
env: | |
ORG_GRADLE_PROJECT_shortPlatformVersion: ${{ matrix.gradle-properties-version }} | |
ORG_GRADLE_PROJECT_platformType: ${{ matrix.platform-type }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
# this might remove tools that are actually needed, | |
# if set to "true" but frees about 6 GB | |
tool-cache: false | |
# all of these default to true, but feel free to set to | |
# "false" if necessary for your workflow | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: true | |
docker-images: true | |
swap-storage: true | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build | |
run: ./gradlew assemble --stacktrace -Pkotlin.incremental=false | |
- name: Tests | |
run: ./gradlew test --stacktrace -Pkotlin.incremental=false | |
- name: Verify plugin.xml | |
run: ./gradlew verifyPluginConfiguration | |
- name: Verify plugin | |
run: ./gradlew verifyPlugin |