Skip to content

Publish SOURCE packages to Nuget #3

Publish SOURCE packages to Nuget

Publish SOURCE packages to Nuget #3

name: Publish SOURCE packages to Nuget
on: workflow_dispatch
jobs:
build:
uses: ./.github/workflows/BuildPackages.yml

Check failure on line 7 in .github/workflows/PublishSourcePackagesToNuget.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/PublishSourcePackagesToNuget.yml

Invalid workflow file

error parsing called workflow ".github/workflows/PublishSourcePackagesToNuget.yml" -> "./.github/workflows/BuildPackages.yml" (source branch with sha:4440fbd52043737e8a8503f197472a3ffec3d92d) : workflow is not reusable as it is missing a `on.workflow_call` trigger
publish:
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
name: nuget-packages
- name: Push to NuGet
run: dotnet nuget push "*.Sources.nupkg" --api-key ${{secrets.InteropTypes_PublishToNuget}} --source https://api.nuget.org/v3/index.json