Skip to content

233.11800.7

233.11800.7 #26

Workflow file for this run

name: Publish to Marketplace
on:
release:
types: [ published ]
jobs:
publish:
name: Publish Package Search to Marketplace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2
- name: Run :publishShadowPluginToMarketplace task
run: ./gradlew publishAllPublicationsToSpaceRepository :plugin:publishPluginToMarketplace
env:
MARKETPLACE_TOKEN: ${{ secrets.MARKETPLACE_TOKEN }}
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }}
MAVEN_SPACE_PASSWORD: ${{ secrets.MAVEN_SPACE_PASSWORD }}
MAVEN_SPACE_USERNAME: ${{ secrets.MAVEN_SPACE_USERNAME }}
CHANGE_NOTES: ${{ github.event.release.body }}
- name: Run :publishStablePluginToTBE task
run: ./gradlew :plugin:publishReleasePluginToTBE
env:
KMP: true
TOOLBOX_ENTERPRISE_TOKEN: ${{ secrets.TOOLBOX_ENTERPRISE_TOKEN }}
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }}
CHANGE_NOTES: ${{ github.event.release.body }}