Skip to content

Release CI

Release CI #1

Workflow file for this run

name: Release CI
on:
release:
types:
- published
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=${IDEA_VERSION} check buildPlugin
env:
- IDEA_VERSION: IC-2020.3

Check failure on line 27 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release CI

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 27, Col: 11): A sequence was not expected
- 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="${SIGNING_PASSWORD}" -DlibraryVersion=$GITHUB_REF_NAME