File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,21 +13,21 @@ jobs:
1313 dotnet-version : ' 5.0.202'
1414 - name : Install tools
1515 run : dotnet tool restore
16- - name : Build and Test and Docs using FAKE
16+ - name : Build and Test
1717 run : dotnet test -c Release
1818 - name : Pack
1919 run : dotnet pack -c Release
20+ - name : Build docs
21+ run : dotnet fsdocs build --properties Configuration=Release
2022 - name : Deploy
2123 uses : peaceiris/actions-gh-pages@v3
2224 with :
2325 personal_token : ${{ secrets.GITHUB_TOKEN }}
2426 publish_dir : ./output
2527 publish_branch : gh-pages
2628 force_orphan : true
27- - name : Examine bin
28- run : ls -r bin
2929 - name : Publish NuGets (if this version not published before)
30- run : dotnet nuget push bin /FSharp.Control.AsyncSeq. *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_TOKEN_2021 }} --skip-duplicate
30+ run : dotnet nuget push src /FSharp.Control.AsyncSeq/bin/Release/ *.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_TOKEN_2021 }} --skip-duplicate
3131
3232# NUGET_ORG_TOKEN_2021 is listed in "Repository secrets" in https://github.com/fsprojects/FSharp.Control.AsyncSeq/settings/secrets/actions
3333# note, the nuget org token expires around 24 July 2022
You can’t perform that action at this time.
0 commit comments