Skip to content

.NET

.NET #69

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
inputs:
publishToNuget:
description: 'Publish to nuget'
required: true
default: true
type: boolean
jobs:
dotnet:
uses: mathieumack/MyGithubActions/.github/workflows/dotnetlib.yml@main

Check failure on line 18 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .NET

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 18, Col: 11): Error from called workflow mathieumack/MyGithubActions/.github/workflows/dotnetlib.yml@main (Line: 85, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SONAR_PROJECT_CODE != '' In .github/workflows/ci.yml (Line: 18, Col: 11): Error from called workflow mathieumack/MyGithubActions/.github/workflows/dotnetlib.yml@main (Line: 101, Col: 11): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SONAR_PROJECT_CODE != ''
with:
publishToNuget: ${{ github.event.inputs.publishToNuget == true }}
dotnet-version: |
9.0.x
secrets:
NUGETPACKAGEIDENTIFIER: ${{ secrets.NUGETPACKAGEIDENTIFIER }}
NUGETAPIKEY: ${{ secrets.NUGETAPIKEY }}