Skip to content

fix f distribution

fix f distribution #18

Workflow file for this run

name: Build and Test and Publish (release)
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.X
- name: Restore .NET local tools
run: dotnet tool restore
- name: Restore packages
run: dotnet restore
- name: Build and test
run: dotnet build
- name: Pack nuget
run: dotnet pack -c Release
- name: Publish NuGets (if this version not published before)
run: dotnet nuget push src\NovaSBE.Finance\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET }} --skip-duplicate
# NUGET_ORG_TOKEN_2020 is listed in "Repository secrets" in https://github.com/fsprojects/FSharp.Data/settings/secrets/actions
# note, the nuget org token expires around June 2021