Skip to content

Update main.yml

Update main.yml #275

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Cache build logic
uses: actions/cache@v4
with:
path: gradle/build-logic/build
key: build-logic-${{ hashFiles('gradle/build-logic/src/**', 'gradle/build-logic/build.gradle.kts','gradle/build-logic/settings.gradle.kts') }}
- uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.CC }}
- name: Build with Gradle
run: ./gradlew build
- run: echo echo "a.f=a\nb.f=b" >> "$GITHUB_OUTPUT"
id: f
- run: echo ${{ join(steps.f.outputs.*.f) }}