Remove java version matrix for tests #18
Workflow file for this run
This file contains hidden or 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: Release | |
on: | |
push: | |
tags: | |
- '*.*.*' | |
- '*.*.*-SNAPSHOT' | |
concurrency: | |
group: java-exaroton-api | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Publish to Maven Central | |
env: | |
JRELEASER_GPG_SECRET_KEY: ${{ secrets.EXAROTON_GPG_SIGNING_KEY }} | |
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.EXAROTON_GPG_SIGNING_PUBLIC_KEY }} | |
JRELEASER_GPG_PASSPHRASE: ${{ secrets.EXAROTON_GPG_SIGNING_PASSPHRASE }} | |
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
JRELEASER_NEXUS2_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }} | |
JRELEASER_NEXUS2_TOKEN: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} | |
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }} | |
JRELEASER_MAVENCENTRAL_TOKEN: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} | |
EXAROTON_API_TOKEN: ${{ secrets.EXAROTON_API_KEY }} | |
EXAROTON_TEST_SERVER: "WgvSsfR8ZizUO1RQ" | |
EXAROTON_TEST_POOL: "N2t9gWOMpzRL37FI" | |
run: ./gradlew clean publish jreleaserDeploy -Prelease=${{ github.ref_name }} | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
./build/libs/java-exaroton-api-*.jar | |
body_path: ${{ github.workspace }}/CHANGELOG.md | |
name: ${{ github.ref_name }} |