Init Code for Plugin (#1) #1
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 to Gradle Plugin Portal | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
gradle: | |
runs-on: ubuntu-latest | |
env: | |
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache | |
uses: gradle/gradle-build-action@v2 | |
- name: Validate | |
run: ./gradlew check validatePlugins --continue | |
- name: Integration Test | |
run: ./gradlew integrationTest | |
- name: Publish | |
run: ./gradlew publishPlugins |