File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,21 @@ jobs:
1717 runs-on : windows-latest
1818 steps :
1919 - uses : actions/checkout@v2
20+
2021 - name : Install DocFX
22+ if : github.ref == 'refs/heads/develop'
2123 run : choco install docfx -y
24+
2225 - name : Build
2326 run : dotnet build src/Advanced.Algorithms.sln
27+
2428 - name : Test
2529 run : dotnet test src/Advanced.Algorithms.sln
30+
2631 - name : Update Documentation
2732 if : github.ref == 'refs/heads/develop'
2833 run : docfx .github/docfx.json
34+
2935 - name : Publish Documentation
3036 if : github.ref == 'refs/heads/develop'
3137 uses : EndBug/add-and-commit@v9
@@ -34,11 +40,13 @@ jobs:
3440 message : Update documentation
3541 committer_name : GitHub Actions
3642 committer_email :
[email protected] 43+
3744 - name : Publish Beta
3845 if : github.ref == 'refs/heads/beta'
3946 run : |
4047 dotnet pack src/Advanced.Algorithms/Advanced.Algorithms.csproj --version-suffix "beta"
4148 dotnet nuget push **\*.nupkg -s "nuget" -k "${{ secrets.NUGET_TOKEN }}"
49+
4250 - name : Publish Stable
4351 if : github.ref == 'refs/heads/stable'
4452 run : |
You can’t perform that action at this time.
0 commit comments