Skip to content

Merge branch 'feat/rgb' #810

Merge branch 'feat/rgb'

Merge branch 'feat/rgb' #810

Workflow file for this run

name: Build
on:
push:
paths-ignore:
- "**.md"
- "renovate.json"
pull_request:
paths-ignore:
- "**.md"
- "renovate.json"
jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
name: Build with Java 8
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
with:
java-version: "8"
distribution: "temurin"
- name: Compute version
id: version
run: echo "version=0.1.0-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- run: java -version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
with:
validate-wrappers: true
- name: Build with Gradle
run: ./gradlew build --scan
env:
VERSION: ${{ steps.version.outputs.version }}
- name: Upload artifacts
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: artifacts
path: build/libs/*.jar