Skip to content

Use local swagger file for Jira cloud connector #1

Use local swagger file for Jira cloud connector

Use local swagger file for Jira cloud connector #1

name: Publish snapshot
on:
push:
branches:
- 'main'
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Publish to OSS Snapshots repository
run: ./gradlew clean publish -x test --no-scan --no-daemon --no-build-cache --stacktrace
env:
OSSRH_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}