aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cycles.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cycles.yml')
-rw-r--r--.github/workflows/cycles.yml17
1 files changed, 1 insertions, 16 deletions
diff --git a/.github/workflows/cycles.yml b/.github/workflows/cycles.yml
index be631da5f27..4c3aeb42cc2 100644
--- a/.github/workflows/cycles.yml
+++ b/.github/workflows/cycles.yml
@@ -27,22 +27,7 @@ jobs:
xbps-install -y python3-networkx github-cli
- name: Clone and checkout
- run: |
- REMOTE_REF=$(echo ${{ github.ref }} | sed 's;refs/;refs/remotes/;')
- /bin/echo -e '::group::\x1b[32mCloning repository...\x1b[0m'
- git clone --progress --no-checkout --filter=tree:0 \
- "${{ github.server_url }}/${{ github.repository }}" "$PWD"
- git config --global --add gc.auto 0
- git config --global --add safe.directory "$PWD"
- echo "::endgroup::"
- /bin/echo -e '::group::\x1b[32mFetching repository refs...\x1b[0m'
- git fetch --prune --progress --filter=tree:0 origin \
- +refs/heads/*:refs/remotes/origin/* \
- +${{ github.ref }}:"${REMOTE_REF}"
- echo "::endgroup::"
- /bin/echo -e '::group::\x1b[32mChecking out repository...\x1b[0m'
- git checkout --progress --force "${REMOTE_REF}"
- echo "::endgroup::"
+ uses: classabbyamp/treeless-checkout-action@v1
- name: Create hostrepo and prepare masterdir
run: |