Skip to content

ci(deploy): fix yaml #8

ci(deploy): fix yaml

ci(deploy): fix yaml #8

Workflow file for this run

name: Publish to NuGet
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/LumexUI
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |

Check failure on line 20 in .github/workflows/nuget.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nuget.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
8.0.x
9.0.x
- name: Create NuGet package
run: dotnet pack -c Release --output nupkgs
- name: Push to NuGet
run: dotnet nuget push nupkgs/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json