Skip to content

fix the release pipeline #5

fix the release pipeline

fix the release pipeline #5

Workflow file for this run

name: Release CI
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Build with Gradle
run: |
./gradlew -PideaVersion=IC-2020.3 check buildPlugin -PlibraryVersion=$GITHUB_REF_NAME
- name: Publish to Sonatype
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
run: ./gradlew publish -PossrhToken="${SONATYPE_USERNAME}" -PossrhTokenPassword="${SONATYPE_PASSWORD}" -PsigningKey="${SIGNING_KEY}" -PsigningPassword="" -PideaVersion=IC-2020.3 -PlibraryVersion=$GITHUB_REF_NAME