Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Commit 50b24ae

Browse files
committed
Workflows: Use new method to checkout
1 parent 1358b94 commit 50b24ae

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build-rpi4-lean-openwrt-new.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,12 @@ jobs:
217217
sudo btrfs filesystem usage $GITHUB_WORKSPACE
218218
219219
- name: Checkout
220-
uses: actions/checkout@main
220+
run: |
221+
cd $GITHUB_WORKSPACE
222+
git init
223+
git remote add origin https://github.com/$GITHUB_REPOSITORY
224+
git fetch
225+
git checkout -t origin/$CURRENT_BRANCH
221226
222227
# - name: Download Toolchain Image
223228
# if: env.TOOLCHAIN_RELEASE_UPLOAD != 'true'

0 commit comments

Comments
 (0)