chore: 0.9.3 release #106
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 CodeArtifact plugin | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- 'README.md' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
# https://github.com/gradle/actions/tree/main/setup-gradle | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
# https://github.com/gradle/actions/tree/main/dependency-submission | |
- name: "Generate and submit dependency graph" | |
uses: "gradle/actions/dependency-submission@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0" # v4 | |
env: | |
DEPENDENCY_GRAPH_EXCLUDE_PROJECTS: "^:(build-logic|buildSrc|.*[Tt]test.*)" | |
DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: ".*[Tt]est.*Classpath" | |
- name: Publish | |
env: | |
GRADLE_PUBLISH_KEY: '${{ secrets.PLUGIN_PORTAL_KEY }}' | |
GRADLE_PUBLISH_SECRET: '${{ secrets.PLUGIN_PORTAL_SECRET }}' | |
ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | |
ORG_GRADLE_PROJECT_SIGNING_PWD: ${{ secrets.SIGNING_PASSWORD }} | |
run: ./gradlew publishPlugins --no-configuration-cache |