🐎 ci: Add workflow for console #1
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: Console Build | |
concurrency: | |
group: console_build_${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
paths-ignore: | |
- "**.md" | |
- "docs/**" | |
push: | |
paths-ignore: | |
- "**.md" | |
- "docs/**" | |
jobs: | |
build_jar: | |
name: Build Jar | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v3 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: corretto | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
gradle-version: 8.2 | |
- name: Build the Artifact | |
run: | | |
gradle build --debug | |
- name: Upload the Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: javet-shell-console | |
path: build/libs/*.jar |