Skip to content

Bump org.junit.jupiter:junit-jupiter-params from 5.1.0 to 5.10.2 #58

Bump org.junit.jupiter:junit-jupiter-params from 5.1.0 to 5.10.2

Bump org.junit.jupiter:junit-jupiter-params from 5.1.0 to 5.10.2 #58

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- '**'
- '!website/**'
pull_request:
types: [opened, synchronize, reopened]
paths:
- '**'
- '!website/**'
jobs:
build:
name: Build and Analysis
permissions:
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build
run: ./gradlew build
- name: Sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: ./gradlew sonar -Dsonar.branch.name ${{ BRANCH_NAME }}

Check failure on line 46 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 46, Col: 14): Unrecognized named-value: 'BRANCH_NAME'. Located at position 1 within expression: BRANCH_NAME