mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Update C# API docs workflow (#12796)
This commit is contained in:
parent
6b148e15e1
commit
cc94ba7740
1 changed files with 6 additions and 9 deletions
15
.github/workflows/publish-csharp-apidocs.yml
vendored
15
.github/workflows/publish-csharp-apidocs.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue