File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Manual Build (Collector)"
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ architecture : [ amd64, arm64 ]
12+ outputs :
13+ COLLECTOR_VERSION : ${{ steps.save-collector-version.outputs.COLLECTOR_VERSION }}
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v4
17+ - name : Setup Go
18+ uses : actions/setup-go@v5
19+ with :
20+ go-version : ' ~1.21.9'
21+ - name : Build Collector
22+ run : make -C collector package GOARCH=${{ matrix.architecture }}
23+ - name : Upload Collector Artifact
24+ uses : actions/upload-artifact@v4
25+ with :
26+ name : opentelemetry-collector-layer-${{ matrix.architecture }}.zip
27+ path : ${{ github.workspace }}/collector/build/opentelemetry-collector-layer-${{ matrix.architecture }}.zip
You can’t perform that action at this time.
0 commit comments