Skip to content

Commit

Permalink
Release 2.0.0-alpha.2 (#123)
Browse files Browse the repository at this point in the history
* Release 2.0.0-alpha.2

Changed docs workflow trigger

* Include dotnet 6.0 SDK

* Re-release alpha.1

* move tag to end

Signed-off-by: Caleb Lloyd <caleb@synadia.com>

---------

Signed-off-by: Caleb Lloyd <caleb@synadia.com>
Co-authored-by: Caleb Lloyd <caleb@synadia.com>
  • Loading branch information
mtmk and Caleb Lloyd authored Aug 31, 2023
1 parent 77d3b90 commit adc21cb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 47 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/docs.yml

This file was deleted.

23 changes: 22 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

permissions:
contents: write
pages: write
id-token: write

jobs:
nuget:
Expand Down Expand Up @@ -34,7 +36,9 @@ jobs:
name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x'
dotnet-version: |
6.x
7.x
- if: ${{ fromJSON(steps.tag.outputs.create) }}
name: Pack
Expand All @@ -44,6 +48,23 @@ jobs:
name: Push
run: dotnet nuget push dist/*.nupkg -s https://api.nuget.org/v3/index.json -k "${{ secrets.NUGET_API_KEY }}" --skip-duplicate

- if: ${{ fromJSON(steps.tag.outputs.create) }}
run: dotnet tool update -g docfx

- if: ${{ fromJSON(steps.tag.outputs.create) }}
run: docfx docs/docfx.json

- if: ${{ fromJSON(steps.tag.outputs.create) }}
name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/_site

- if: ${{ fromJSON(steps.tag.outputs.create) }}
name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

- if: ${{ fromJSON(steps.tag.outputs.create) }}
name: Tag
run: |
Expand Down

0 comments on commit adc21cb

Please sign in to comment.