diff --git a/.github/workflows/build-to-all-latest-snapshots.yml b/.github/workflows/build-to-all-latest-snapshots.yml index a9defec..6e90877 100644 --- a/.github/workflows/build-to-all-latest-snapshots.yml +++ b/.github/workflows/build-to-all-latest-snapshots.yml @@ -52,9 +52,12 @@ jobs: - uses: actions/checkout@v4 with: repository: openwrt/openwrt - ref: ${{ env.SNAPSHOT_COMMIT_SHA }} fetch-depth: 0 + - name: Checkout snapshot commit in openwrt repo + working-directory: ./openwrt + run: git checkout ${{ env.SNAPSHOT_COMMIT_SHA}} + - name: Building kernel and tools run: | echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}"