Skip to content

Commit

Permalink
Update C# API docs workflow (microsoft#12796)
Browse files Browse the repository at this point in the history
  • Loading branch information
natke authored Aug 31, 2022
1 parent 6b148e1 commit cc94ba7
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/publish-csharp-apidocs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Update C# API Docs Windows
name: Update C# API Docs
on:
push:
branches:
- main
- csharp-doc-update
jobs:
publish:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
Expand All @@ -26,12 +25,10 @@ jobs:
clean: false
- name: Move API docs into target area
run: |
rm -r -fo docs/api/csharp
MOVE csharp/ApiDocs/csharp docs/api
rm -r -fo csharp/ApiDocs/obj
rm -r -fo csharp/ApiDocs/bin
rm -r -fo csharp/ApiDocs/log.txt
rm -r -fo csharp/src
rm -rf docs/api/csharp
mv csharp/ApiDocs/csharp docs/api
rm -r csharp/ApiDocs
rm -r csharp/src
- name: Git Checkin
run: git add .
- name: Create Pull Request
Expand Down

0 comments on commit cc94ba7

Please sign in to comment.