mirror of
https://github.com/tcgdex/java-sdk.git
synced 2025-06-21 07:09:19 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
29a9c5ae79 | |||
e1bb2ad8dc | |||
797582f39f | |||
e7c7f77a4b |
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -20,15 +20,19 @@ jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# follows https://en.wikipedia.org/wiki/Java_version_history#Release_table
|
||||
java-versions: ['8', '11', '17', '21']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 11
|
||||
- name: Set up Java ${{ matrix.java-versions }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '11'
|
||||
java-version: ${{ matrix.java-versions }}
|
||||
distribution: 'temurin'
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@fec4a42eb0c83154e5c9590748ba8337949c5701
|
||||
with:
|
||||
arguments: build
|
||||
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -30,14 +30,14 @@ jobs:
|
||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@fec4a42eb0c83154e5c9590748ba8337949c5701
|
||||
with:
|
||||
arguments: build
|
||||
|
||||
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
|
||||
# the publishing section of your build.gradle
|
||||
- name: Publish to GitHub Packages
|
||||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
|
||||
uses: gradle/gradle-build-action@fec4a42eb0c83154e5c9590748ba8337949c5701
|
||||
with:
|
||||
arguments: publish
|
||||
env:
|
||||
|
@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
|
||||
kotlin("jvm") version "1.6.20"
|
||||
kotlin("jvm") version "1.6.21"
|
||||
id("org.jetbrains.dokka") version "1.6.21"
|
||||
|
||||
// Apply the java-library plugin for API and implementation separation.
|
||||
|
Reference in New Issue
Block a user