Skip to content

Update characterWithNoBadgesSelected sample #189

Update characterWithNoBadgesSelected sample

Update characterWithNoBadgesSelected sample #189

Workflow file for this run

name: 🚀 Publish to Sonatype Nexus
on:
push:
branches:
- 'main'
- 'dev'
tags-ignore:
- '**'
release:
types: [ published ]
jobs:
publish:
name: 🚀 Publish to Sonatype Nexus
runs-on: ubuntu-latest
env:
GITHUB_BRANCH_NAME: ${{ github.ref }}
GITHUB_TAG_NAME: ${{ github.event.release.tag_name }}
steps:
- name: Checkout 📦
uses: actions/checkout@v4
- name: Set up JDK ️☕
uses: actions/setup-java@v4
with:
java-version: '13'
distribution: 'adopt'
- name: Setup Gradle 🐘
uses: gradle/actions/setup-gradle@v3
- name: Build ⚙️
run: ./gradlew build -x test
- name: Publish 🚀
run: ./gradlew -x test publishReleasePublicationToMavenRepository closeAndReleaseStagingRepository
env:
SONATYPE_USER: ${{secrets.SONATYPE_USER}}
SONATYPE_PASSWORD: ${{secrets.SONATYPE_PASSWORD}}
GPG_ID: ${{secrets.GPG_ID}}
GPG_KEY: ${{secrets.GPG_KEY}}
GPG_PASS: ${{secrets.GPG_PASS}}