Skip to content

Commit 8f5b776

Browse files
committed
add gh workflow
1 parent 92bbb88 commit 8f5b776

2 files changed

Lines changed: 55 additions & 0 deletions

File tree

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # SergiyE # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/dev.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: dev
2+
3+
on:
4+
push:
5+
branches: [dev]
6+
7+
jobs:
8+
build:
9+
runs-on: windows-2022
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: nuget/setup-nuget@v2
13+
- uses: microsoft/setup-msbuild@v1.1
14+
with:
15+
msbuild-architecture: x64
16+
17+
- uses: dorny/paths-filter@v2
18+
id: changes
19+
with:
20+
filters: |
21+
buildprops:
22+
- 'Directory.Build.props'
23+
24+
- name: NuGet restore
25+
run: nuget restore OpenHardwareMonitor.sln
26+
27+
- name: Build
28+
run: msbuild OpenHardwareMonitor.sln -p:Configuration=Release -m
29+
30+
- name: Publish build
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: OpenHardwareMonitor
34+
path: |
35+
bin/OpenHardwareMonitor
36+
37+
- name: Publish Lib build
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: OpenHardwareMonitorLib
41+
path: |
42+
bin/OpenHardwareMonitorLib

0 commit comments

Comments
 (0)