File tree Expand file tree Collapse file tree 5 files changed +57
-2
lines changed
Expand file tree Collapse file tree 5 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ path :
6+ - ' sources/*'
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ name : Build
13+ runs-on : windows-latest
14+ steps :
15+
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - name : Add msbuild to PATH
20+ uses : microsoft/setup-msbuild@v2
21+ with :
22+ msbuild-architecture : x64
23+
24+ - name : MSBuild
25+ working-directory : sources
26+ run : |
27+ msbuild /t:Restore
28+ msbuild -property:Configuration=Debug
29+ Write-Output "commit=$("${{ github.sha }}".Substring(0,7))"| Out-File -FilePath $Env:GITHUB_ENV -Encoding UTF8 -Append
30+
31+ - name : Upload
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : gff@${{ env.commit }}
35+ path : sources/bin/Debug/net472/gff.exe
36+ if-no-files-found : error
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ bin /
2+ obj /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ <TargetFramework >net472</TargetFramework >
6+ <AssemblyName >gff</AssemblyName >
7+ <ApplicationIcon >..\icons\icon.ico</ApplicationIcon >
8+ <LangVersion >latest</LangVersion >
9+ </PropertyGroup >
10+
11+ <ItemGroup >
12+ <None Include =" App.config" />
13+ </ItemGroup >
14+
15+ <ItemGroup >
16+ <Reference Include =" System.Management" />
17+ </ItemGroup >
18+
19+ </Project >
You can’t perform that action at this time.
0 commit comments