Skip to content

Update main.yml

Update main.yml #273

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.output.*_f) }}

Check failure on line 31 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 31, Col: 14): Unexpected symbol: '_f'. Located at position 22 within expression: join(steps.f.output.*_f)