Skip to content

chore: refactor build scripts #96

chore: refactor build scripts

chore: refactor build scripts #96

Workflow file for this run

name: publish CodeArtifact plugin
on:
push:
branches: ["main"]
paths-ignore:
- 'README.md'
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Validate wrapper'
uses: 'gradle/wrapper-validation-action@v3'
- 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/setup-gradle@v4
- 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