Skip to content

Remove npm publish step from CI (#316) #36

Remove npm publish step from CI (#316)

Remove npm publish step from CI (#316) #36

Workflow file for this run

name: Publish
on:
push:
tags:
- "*.*.*"
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
jobs:
publish:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: check
uses: gradle/gradle-build-action@v2
with:
arguments: check
- name: publish
uses: gradle/gradle-build-action@v2
with:
arguments: |
-PVERSION_NAME=${{ github.ref_name }}
-PsigningInMemoryKey=${{ secrets.SIGNING_KEY }}
-PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }}
-PmavenCentralUsername=${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }}
-PmavenCentralPassword=${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }}
publish