diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 0a7bc1d..21e6c69 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -17,14 +17,6 @@ jobs: packages: write steps: - - name: Checkout code - run: | - echo "Cloning repository..." - git clone https://git.raines.xyz/particle-os/ostree.git /tmp/ostree - cd /tmp/ostree - git fetch --all - git checkout ${{ github.sha || gitea.sha || 'main' }} - - name: Setup Debian environment run: | echo "Setting up Debian environment for building..." @@ -49,6 +41,14 @@ jobs: # Install essential tools first (including git) apt install -y git curl build-essential fakeroot devscripts + - name: Checkout code + run: | + echo "Cloning repository..." + git clone https://git.raines.xyz/particle-os/ostree.git /tmp/ostree + cd /tmp/ostree + git fetch --all + git checkout ${{ github.sha || gitea.sha || 'main' }} + - name: Clone ostree from Debian sid run: | echo "Cloning ostree from Debian sid..."