Skip to content

use streams

use streams #22

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [main]
paths:
- "src/**"
pull_request:
branches: [main]
paths:
- "src/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js 16
uses: actions/setup-node@v2
with:
node-version: 16
- name: Set up JDK 20
uses: actions/setup-java@v2
with:
java-version: "20"
distribution: "adopt"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew fatJar
- name: Archive build artifacts
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: |
build/libs