diff --git a/.github/workflows/gcc-bpf.yml b/.github/workflows/gcc-bpf.yml index da01178..fdd9e6e 100644 --- a/.github/workflows/gcc-bpf.yml +++ b/.github/workflows/gcc-bpf.yml @@ -37,6 +37,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + sparse-checkout: | + .github + ci - if: ${{ inputs.download_sources }} name: Download bpf-next tree @@ -45,6 +49,12 @@ jobs: dest: ${{ env.REPO_ROOT }} rev: ${{ env.BPF_NEXT_BASE_BRANCH }} + - if: ${{ ! inputs.download_sources }} + name: Checkout ${{ github.repository }} to ./src + uses: actions/checkout@v4 + with: + path: 'src' + - uses: libbpf/ci/patch-kernel@v3 with: patches-root: '${{ github.workspace }}/ci/diffs'