File tree Expand file tree Collapse file tree 3 files changed +46
-3
lines changed
packaging/dotnet-instr-deployer-add-on Expand file tree Collapse file tree 3 files changed +46
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Instrumentation Deployer Add-On
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' packaging/dotnet-instr-deployer-add-on/**'
7
+ pull_request :
8
+ paths :
9
+ - ' packaging/dotnet-instr-deployer-add-on/**'
10
+ workflow_dispatch :
11
+
12
+ env :
13
+ GO_VERSION : 1.23.6
14
+
15
+ jobs :
16
+ build :
17
+ runs-on : windows-latest
18
+
19
+ steps :
20
+
21
+ - name : Check out the codebase.
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Set up Go
25
+ uses : actions/setup-go@v5
26
+ with :
27
+ go-version : ${{ env.GO_VERSION }}
28
+
29
+ - name : Unit tests
30
+ working-directory : ./packaging/dotnet-instr-deployer-add-on
31
+ shell : bash
32
+ run : make test
33
+
34
+ - name : Build and Package the .NET Instrumentation Deployer Add-On
35
+ working-directory : ./packaging/dotnet-instr-deployer-add-on
36
+ shell : bash
37
+ run : make build-pack
38
+
39
+ - name : Upload the .NET Instrumentation Deployer Add-On
40
+ uses : actions/upload-artifact@v4
41
+ with :
42
+ name : splunk_otel_dotnet_deployer
43
+ path : ./packaging/dotnet-instr-deployer-add-on/out/distribution/splunk_otel_dotnet_deployer.tgz
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ include ../../Makefile.Common
2
2
3
3
MOD_INPUT_NAME = splunk_otel_dotnet_deployer
4
4
5
- .PHONY : all
6
- all : download-dotnet-assets build pack
5
+ .PHONY : build-pack
6
+ build-pack : download-dotnet-assets build pack
7
7
8
8
.PHONY : download-dotnet-assets
9
9
download-dotnet-assets :
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ configuration options.
28
28
29
29
This project was developed on Windows, using ` MINGW64 ` tools and the ` bash `
30
30
provided by Git for Windows. Check the [ Makefile] ( ./Makefile ) for the available
31
- targets - the default target generates the technical add-on under
31
+ targets - use the ` build-pack ` target to generate the technical add-on under
32
32
` ./out/distribution ` .
33
33
34
34
### Sources
You can’t perform that action at this time.
0 commit comments