Skip to content

Commit fd602c9

Browse files
authored
First CI workflow draft
Added a workflow that installs sysmon with the config and fails when sysmon has an error
1 parent 4aa2ad4 commit fd602c9

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
# Trigger the workflow on push or pull requests, but only for the
5+
# main branch
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
14+
jobs:
15+
msbuild:
16+
runs-on: 'windows-latest'
17+
steps:
18+
- name: Checkout open-sysmon-conf
19+
uses: actions/checkout@v2
20+
21+
- name: Download Sysmon
22+
run: Invoke-WebRequest http://live.sysinternals.com/tools/sysmon.exe -OutFile .\sysmon.exe
23+
shell: powershell
24+
25+
- name: Run Sysmon
26+
run: .\sysmon.exe -accepteula -i sysmonconfig-export.xml
27+
shell: powershell

0 commit comments

Comments
 (0)