0.0.1 - Exclusion support #3
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: Trigger Release | |
on: | |
workflow_dispatch: | |
release: | |
types: [published] | |
jobs: | |
publish_archives: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
env: | |
RELEASE: true | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version-file: .java-version | |
- name: Setup gradle | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Verify build | |
run: ./gradlew check | |
- name: Publish the artifacts | |
run: ./gradlew publishPlugins --no-configuration-cache | |
env: | |
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} | |
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} |