From a5d9cf083062210bab9d30fbe2cf7f4e71fdf7ea Mon Sep 17 00:00:00 2001 From: Duncan Harvey <35278470+duncanpharvey@users.noreply.github.com> Date: Mon, 16 Sep 2024 14:05:18 -0400 Subject: [PATCH] [Serverless Mini Agent] Install Protoc for Serverless Release (#630) * install protoc for serverless release * rerun github actions --- .github/workflows/publish-serverless-agent.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish-serverless-agent.yml b/.github/workflows/publish-serverless-agent.yml index e0fab67bf..69a37e8ea 100644 --- a/.github/workflows/publish-serverless-agent.yml +++ b/.github/workflows/publish-serverless-agent.yml @@ -11,9 +11,13 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Install Protoc Binary + shell: bash + run: chmod +x ./scripts/install-protoc.sh && ./scripts/install-protoc.sh $HOME - name: Install musl dependencies run: rustup target add x86_64-unknown-linux-musl && sudo apt-get install musl-tools - name: Build project + shell: bash run: cargo build --release -p datadog-serverless-trace-mini-agent --target x86_64-unknown-linux-musl - name: Upload artifacts for release step uses: actions/upload-artifact@v3 @@ -26,7 +30,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Install Protoc Binary + shell: bash + run: chmod +x ./scripts/install-protoc.sh && ./scripts/install-protoc.sh $HOME - name: Build project + shell: bash run: cargo build --release -p datadog-serverless-trace-mini-agent - name: Upload artifacts for release step uses: actions/upload-artifact@v3