This repository was archived by the owner on Jul 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,19 +17,25 @@ 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/Titanium.Web.Proxy/Titanium.Web.Proxy.csproj
27+
2428 - name : Test
2529 shell : pwsh
2630 run : |
2731 .\.github\install-unit-test-certificate.ps1
2832 dotnet test tests/Titanium.Web.Proxy.UnitTests/Titanium.Web.Proxy.UnitTests.csproj
2933 dotnet test tests/Titanium.Web.Proxy.IntegrationTests/Titanium.Web.Proxy.IntegrationTests.csproj
34+
3035 - name : Update Documentation
3136 if : github.ref == 'refs/heads/develop'
3237 run : docfx .github/docfx.json
38+
3339 - name : Publish Documentation
3440 if : github.ref == 'refs/heads/develop'
3541 uses : EndBug/add-and-commit@v9
@@ -38,11 +44,13 @@ jobs:
3844 message : Update documentation
3945 committer_name : GitHub Actions
4046 committer_email : actions@github.com
47+
4148 - name : Publish Beta
4249 if : github.ref == 'refs/heads/beta'
4350 run : |
4451 dotnet pack src/Titanium.Web.Proxy/Titanium.Web.Proxy.csproj --version-suffix "beta"
4552 dotnet nuget push **\*.nupkg -s "nuget" -k "${{ secrets.NUGET_TOKEN }}"
53+
4654 - name : Publish Stable
4755 if : github.ref == 'refs/heads/stable'
4856 run : |
You can’t perform that action at this time.
0 commit comments