Skip to content

Merge pull request #5 from FHIR/dev #7

Merge pull request #5 from FHIR/dev

Merge pull request #5 from FHIR/dev #7

Workflow file for this run

name: Publish dotnet tool
# Basics from https://docs.microsoft.com/en-us/azure/dev-spaces/how-to/github-actions
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '8'
# Note that we need to pack twice because of an issue with staticwebassets.
- name: Build and Publish
run: |
dotnet restore
dotnet pack -c Release ./src/fhir-candle/fhir-candle.csproj
rm ./nupkg/*.nupkg
dotnet pack -c Release ./src/fhir-candle/fhir-candle.csproj
dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.GINOC_NUGET }} --source https://api.nuget.org/v3/index.json