Skip to content

NO-ISSUE Prepare for 2024.2 (#33) #121

NO-ISSUE Prepare for 2024.2 (#33)

NO-ISSUE Prepare for 2024.2 (#33) #121

Workflow file for this run

name: Run tests with Gradle
on:
pull_request:
branches:
- develop
push:
branches:
- develop
tags:
- '*'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Run tests
run: ./gradlew test --no-daemon
publish:
needs:
- test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Publish plugin
run: ./gradlew :thrift:publishPlugin --no-daemon
env:
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}