From b18b4f7369fe54f0461f962ec286206dbf2a6814 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Tue, 4 Mar 2025 14:44:49 -0500 Subject: [PATCH] ci: use output rather than env This appeases my IDE and removes annoying yellow squiggles. --- .github/workflows/gen.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gen.yml b/.github/workflows/gen.yml index 10e79c86..b50e71bf 100644 --- a/.github/workflows/gen.yml +++ b/.github/workflows/gen.yml @@ -34,8 +34,9 @@ jobs: - run: cargo xtask public-api --bless - run: cargo fmt --all - - run: echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV + - id: libbpf working-directory: xtask/libbpf + run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - uses: peter-evans/create-pull-request@v7 with: @@ -43,9 +44,9 @@ jobs: commit-message: | aya-obj, aya-ebpf-bindings: regenerate - libbpf commit: ${{ env.LIBBPF_SHA }} + libbpf commit: ${{ steps.libbpf.outputs.sha }} title: 'aya-obj, aya-ebpf-bindings: regenerate' body: | **Automated changes** - libbpf commit: ${{ env.LIBBPF_SHA }} + libbpf commit: ${{ steps.libbpf.outputs.sha}}