Update main.yml #274
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: 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) }} | ||
Check failure on line 31 in .github/workflows/main.yml GitHub Actions / CIInvalid workflow file
|