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: Publish stable version to the Marketplace | |
on: | |
release: | |
types: [released] | |
jobs: | |
publish-release: | |
strategy: | |
matrix: | |
gradle-properties-version: [ 242, 243, 251 ] | |
runs-on: ubuntu-latest | |
env: | |
ORG_GRADLE_PROJECT_shortPlatformVersion: ${{ matrix.gradle-properties-version }} | |
JB_PUB_TOKEN: ${{ secrets.JB_PUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Free disk space in the runner before build | |
uses: jlumbroso/free-disk-space@main | |
with: | |
# removes 5.7GB of android SDK only | |
tool-cache: false | |
android: true | |
dotnet: false | |
haskell: false | |
large-packages: false | |
docker-images: false | |
swap-storage: false | |
- 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: Publish plugin | |
run: ./gradlew publishPlugin --stacktrace -Pkotlin.incremental=false | |