diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 5c62f43..e79842a 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -15,7 +15,20 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + run: | + echo "Cloning repository..." + # Create workspace directory + mkdir -p /workspace/particle-os/libfuse + # Clone repository + git clone https://git.raines.xyz/particle-os/libfuse.git /tmp/libfuse + cd /tmp/libfuse + git fetch --all + git checkout ${{ github.sha || gitea.sha || 'main' }} + # Copy files to workspace + cp -r /tmp/libfuse/* /workspace/particle-os/libfuse/ 2>/dev/null || true + cp -r /tmp/libfuse/.* /workspace/particle-os/libfuse/ 2>/dev/null || true + # Verify files are copied + ls -la /workspace/particle-os/libfuse/ - name: Setup apt-cacher-ng run: | @@ -131,7 +144,7 @@ jobs: # Run the build script in Debian container docker run --rm \ --add-host=host.docker.internal:host-gateway \ - -v $(pwd):/workspace \ + -v /workspace/particle-os/libfuse:/workspace \ -w /workspace \ debian:trixie \ bash /workspace/build_libfuse.sh