diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 222a77c..e42cc29 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,11 +18,12 @@ jobs: - uses: actions/checkout@v4 with: filter: blob:none - - name: checkout submodule ref - run: git submodule update --init --filter blob:none agnos-kernel-sdm845 - - id: kernel-submodule - run: echo "ref=$(git ls-tree HEAD | awk '$4 == "agnos-kernel-sdm845"' | awk '{print $3}')" >> "$GITHUB_OUTPUT" + - name: checkout kernel submodule + id: kernel-submodule + run: | + git submodule update --init --filter blob:none agnos-kernel-sdm845 + echo "ref=$(git ls-tree HEAD | awk '$4 == "agnos-kernel-sdm845"' | awk '{print $3}')" >> "$GITHUB_OUTPUT" - uses: actions/cache/restore@v4 id: restore-cache