Skip to content

Checkout specific tag from otel #1

Checkout specific tag from otel

Checkout specific tag from otel #1

name: Prep OTEL source
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.21.6'
- name: Check golang version
run: go version
- name: Clone opentelemetry-collector repository
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-collector
path: opentelemetry-collector
ref: 'v0.93.0'
- name: Build ocb
run: |
cd opentelemetry-collector
make ocb
find . -executable -type f