Skip to content

Feature/4 net9

Feature/4 net9 #13

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
with:
publishToNuget: ${{ github.event.inputs.publishToNuget == true }}
dotnet-version: |
9.0.x
secrets:
NUGETPACKAGEIDENTIFIER: ${{ secrets.NUGETPACKAGEIDENTIFIER }}
NUGETAPIKEY: ${{ secrets.NUGETAPIKEY }}
SONAR_ORGANIZATION_CODE: ${{ secrets.SONAR_ORGANIZATION_CODE }}

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

View workflow run for this annotation

GitHub Actions / .NET

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 26, Col: 32): Invalid secret, SONAR_ORGANIZATION_CODE is not defined in the referenced workflow. .github/workflows/ci.yml (Line: 27, Col: 27): Invalid secret, SONAR_PROJECT_CODE is not defined in the referenced workflow.
SONAR_PROJECT_CODE: ${{ secrets.SONAR_PROJECT_CODE }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}