Skip to content

Fix github action yml #4

Fix github action yml

Fix github action yml #4

Workflow file for this run

name: Upload dotnet package
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x' # SDK Version to use.
source-url: https://nuget.pkg.github.com/RANDA-Solutions/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
- run: dotnet build --configuration Release src/JsonLd.Normalization.csproj
- name: Create the package
run: dotnet pack --configuration Release src/JsonLd.Normalization.csproj
- name: Publish the package to GPR
run: dotnet nuget push src/bin/Release/*.nupkg