From ba9ccdbb1ce619103b5768325a98ce6d894d621e Mon Sep 17 00:00:00 2001 From: Slava-Shchipunov Date: Wed, 18 Sep 2024 12:43:49 +0700 Subject: [PATCH] fix: fix checkout to commit --- .github/workflows/build-to-all-latest-snapshots.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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}}"