File tree Expand file tree Collapse file tree 3 files changed +57
-7
lines changed
Expand file tree Collapse file tree 3 files changed +57
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Auto Assign
2+ on :
3+ issues :
4+ types : [opened]
5+ pull_request :
6+ types : [opened]
7+ jobs :
8+ run :
9+ runs-on : ubuntu-latest
10+ permissions :
11+ issues : write
12+ pull-requests : write
13+ steps :
14+ - name : ' Auto-assign issue'
15+ uses : pozil/auto-assign-issue@v1
16+ with :
17+ repo-token : ${{ secrets.GITHUB_TOKEN }}
18+ assignees : sergiye
19+ numOfAssignee : 1
Original file line number Diff line number Diff line change 1+ name : Auto Build
2+
3+ on :
4+ push :
5+ branches : [master]
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 -p:Platform="Any CPU" -m
29+
30+ - name : Publish build
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : OpenHardwareMonitor
34+ path : |
35+ bin/
Original file line number Diff line number Diff line change 497497 <VersionNumber Include =" @(Targets->'%(Version)')" />
498498 </ItemGroup >
499499 </Target >
500- <PropertyGroup >
501- <PostBuildEventDependsOn >
502- $(PostBuildEventDependsOn);
503- PostBuildMacros;
504- </PostBuildEventDependsOn >
505- <PostBuildEvent >rem echo @(VersionNumber) > ..\version.txt</PostBuildEvent >
506- </PropertyGroup >
500+ <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" Condition =" '$(Configuration)' == 'Release'" >
501+ <Exec Command =" for %%f in ($(OutDir)\*) do if not %%~xf==.exe del /S /Q " %%f" " />
502+ </Target >
507503</Project >
You can’t perform that action at this time.
0 commit comments