File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : buildtest
2+
3+ on :
4+ push :
5+ paths :
6+ - ' **.cs'
7+ - ' .github/workflows/*.yml'
8+ pull_request :
9+ paths :
10+ - ' **.cs'
11+ - ' .github/workflows/*.yml'
12+
13+ jobs :
14+ build :
15+
16+ runs-on : ' ubuntu-latest'
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ path : ' main'
22+
23+ - name : Setup .NET
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ dotnet-version : 8.0.x
27+
28+ - name : Get Thermo packages
29+ uses : actions/checkout@v4
30+ with :
31+ repository : ' thermofisherlsms/RawFileReader'
32+ path : ' ThermoPKG'
33+ token : ${{ secrets.GITHUB_TOKEN }}
34+ sparse-checkout : ' Libs/NetCore/Net8/*.nupkg'
35+ sparse-checkout-cone-mode : ' false'
36+
37+ - name : Add Thermo packages as NuGet source
38+ run : |
39+ dotnet nuget add source -n ThermoPKG `pwd`/ThermoPKG/Libs/NetCore/Net8
40+
41+ - name : Buld and test
42+ run : |
43+ cd main
44+ dotnet build .
45+ dotnet test .
46+
You can’t perform that action at this time.
0 commit comments