From bd875ddff85a598debeb0d699ee5170442f33c51 Mon Sep 17 00:00:00 2001 From: Norrie Taylor <91171431+norrietaylor@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:39:12 -0700 Subject: [PATCH] Update codeowners and use ouput parameters rather than environment (#171) --- .github/CODEOWNERS | 2 +- .github/workflows/build.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ed4053b3..4846166b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @elastic/awp-ebpf-sensor-codeowners +* @elastic/sec-linux-platform diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d37bf22..bee62de5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,12 +30,16 @@ jobs: run: make package ARCH=${{inputs.architecture}} - name: Test for source differences post-build run: git diff --exit-code - - name: Get Env - run: echo "ELASTIC_EBPF_VERSION=$(cat VERSION)" >> $GITHUB_ENV && echo "PWD=$(pwd)" >> $GITHUB_ENV + - name: Set Version + id: version-generator + run: echo "ELASTIC_EBPF_VERSION=$(cat VERSION)" >> "$GITHUB_OUTPUT" + - name: Set Path + id: path-generator + run: echo "PWD=$(pwd)" >> "$GITHUB_OUTPUT" - name: Archive Build Artifacts uses: actions/upload-artifact@v3 with: name: elastic-ebpf-${{ inputs.architecture }} - path: ${{ env.PWD }}/artifacts-${{ inputs.architecture }}/elastic-ebpf-${{ env.ELASTIC_EBPF_VERSION }}-SNAPSHOT.tar.gz + path: ${{ steps.path-generator.outputs.PWD }}/artifacts-${{ inputs.architecture }}/elastic-ebpf-${{ steps.version-generator.outputs.ELASTIC_EBPF_VERSION }}-SNAPSHOT.tar.gz if-no-files-found: error retention-days: 3