Skip to content

Publish NuGet

Publish NuGet #6

Workflow file for this run

name: Publish NuGet
on:
push:
tags: [ 'v*' ]
workflow_dispatch:
inputs:
discord-description:
description: Discord description
type: string
default: ""
discord-footer:
description: Discord footer
type: string
default: ""
permissions:
contents: write # important for release creation and asset upload
packages: write
jobs:
deploy:

Check failure on line 22 in .github/workflows/publish-nuget.yml

View workflow run for this annotation

GitHub Actions / Publish NuGet

Invalid workflow file

The workflow is not valid. .github/workflows/publish-nuget.yml (Line: 22, Col: 3): Error calling workflow 'bigbang1112/workflows/.github/workflows/publish-nuget-immutable.yml@main'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/publish-nuget.yml (Line: 22, Col: 3): Error calling workflow 'bigbang1112/workflows/.github/workflows/publish-nuget-immutable.yml@main'. The nested job 'publish' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Publish NuGet
uses: bigbang1112/workflows/.github/workflows/publish-nuget-immutable.yml@main
with:
dotnet-version: |
10.x.x
9.x.x
8.x.x
project-path: Src/*
test-path: Tests/*
pack-path: "{Src/*,Templates}"
push-to-custom-feeds: true
custom-feed-urls: https://nuget.gbx.tools/v3/index.json
release-title-prefix: GBX.NET
main-project: GBX.NET
discord-top-lines: ${{ inputs.discord-description }}
discord-bottom-lines: |
Explorer: <https://explorer.gbx.tools/>
${{ inputs.discord-footer }}
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
CUSTOM_FEED_API_KEYS: ${{ secrets.NUGET_GBXTOOLS_API_KEY }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}