.github: update codegen workflow to use submodule

pull/664/head
Andrew Werner 1 year ago
parent af54a819a3
commit 4306b222d8

@ -8,10 +8,16 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
submodules: recursive
- name: libbpf-version - name: update libbpf
working-directory: libbpf working-directory: libbpf
run: echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV run: |
set -e
git fetch origin
git checkout origin/HEAD
echo "LIBBPF_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@master
with: with:

Loading…
Cancel
Save