-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 947 Bytes
/
dotnet.yml
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
name: update Actions.md
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'Packages/UActions/Editor/Actions/**/*.cs'
- 'ActionsDocExporter/ActionsDocExporter/**/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
token: ${{ secrets.REPO_TOKEN }}
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: export Actions.md
run: dotnet run --project ./ActionsDocExporter/ActionsDocExporter -- doc --base-path $(pwd) --dest-path "Actions.md" --actions-docs-path "Documents/Actions"
- name: export workflow_schema.json
run: dotnet run --project ./ActionsDocExporter/ActionsDocExporter -- schema --output $(pwd)/Documents/workflow_schema.json
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update Actions.md