Skip to content

Commit

Permalink
Update codeowners and use ouput parameters rather than environment
Browse files Browse the repository at this point in the history
  • Loading branch information
norrietaylor committed Jul 20, 2023
1 parent bc27372 commit 2305313
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @elastic/awp-ebpf-sensor-codeowners
* @elastic/sec-linux-platform
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2305313

Please sign in to comment.