Add some tests for JDABuilder intents and cache flags (#2762) #153
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: Upload Artifacts | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'src/main/**' | |
- 'build.gradle.kts' | |
- '.github/workflows/artifacts.yml' | |
jobs: | |
build: | |
name: Build and Upload Artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build Artifacts | |
run: ./gradlew build | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Artifacts | |
path: build/libs/*.jar |