forked from schlosrat/schlosrat.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 1.1 KB
/
GenDoc.yml
File metadata and controls
34 lines (31 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Simple workflow for generating XML documentation
name: Generate XML Documentation
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
# Build the XML documentation from the src_stripped files
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Check Assembly-CSharp.xml
run: move DLL_stripped\Assembly-CSharp.xml DLL_stripped\Assembly-CSharp.xml.bak
shell: cmd
- name: Generate XML Documentation Directly without Rename
run: GenDoc\GenDoc.exe src_stripped\Assembly-CSharp-Stripped.sln DLL_stripped
shell: cmd
- name: Check Assembly-CSharp.xml
run: fc DLL_stripped\Assembly-CSharp.xml DLL_stripped\Assembly-CSharp.xml.bak
shell: cmd
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Assembly-CSharp.xml
path: DLL_stripped/Assembly-CSharp.xml