build(deps): bump com.github.twitch4j:twitch4j-helix #1582
This file contains 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: Kotlin CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '17', '21' ] | |
name: Build on Java ${{ matrix.Java }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- name: Build with Gradle | |
run: | | |
chmod +x ./gradlew | |
./gradlew build --no-daemon | |
- name: Upload API Artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.java == '17' }} | |
with: | |
name: api | |
path: "api/build/distributions/*.zip" # TODO: does ktor support shadowing? | |
- name: Upload Discord Artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.java == '17' }} | |
with: | |
name: vodchat | |
path: "discord/build/libs/*-all.jar" | |
- name: Upload Reddit Artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.java == '17' }} | |
with: | |
name: vodthread | |
path: "reddit/build/libs/*-all.jar" |