|
66 | 66 | steps: |
67 | 67 | - name: Checkout build repo |
68 | 68 | uses: actions/checkout@v4 |
| 69 | + with: { clean: false, fetch-depth: 0 } |
| 70 | + |
| 71 | + - name: Cleanup directories |
| 72 | + run: rm -rf out dist # Since we've clean:false in actions/checkout above, ensure we start fresh, still, preserve cache/ dir on self-hosted runners |
69 | 73 |
|
70 | 74 | - name: Set up QEMU |
71 | 75 | uses: docker/setup-qemu-action@v3 |
@@ -100,6 +104,10 @@ jobs: |
100 | 104 | steps: |
101 | 105 | - name: Checkout build repo |
102 | 106 | uses: actions/checkout@v4 |
| 107 | + with: { clean: false, fetch-depth: 0 } |
| 108 | + |
| 109 | + - name: Cleanup directories |
| 110 | + run: rm -rf out dist # Since we've clean:false in actions/checkout above, ensure we start fresh, still, preserve cache/ dir on self-hosted runners |
103 | 111 |
|
104 | 112 | - name: Set up Docker Buildx # nb: no need for qemu here, kernels are cross-compiled, instead of the compilation being emulated |
105 | 113 | uses: docker/setup-buildx-action@v3 |
@@ -130,6 +138,10 @@ jobs: |
130 | 138 | steps: |
131 | 139 | - name: Checkout build repo |
132 | 140 | uses: actions/checkout@v4 |
| 141 | + with: { clean: false, fetch-depth: 0 } |
| 142 | + |
| 143 | + - name: Cleanup directories |
| 144 | + run: rm -rf out dist # Since we've clean:false in actions/checkout above, ensure we start fresh, still, preserve cache/ dir on self-hosted runners |
133 | 145 |
|
134 | 146 | - name: Set up Docker Buildx # nb: no need for qemu here, kernels are cross-compiled, instead of the compilation being emulated |
135 | 147 | uses: docker/setup-buildx-action@v3 |
|
0 commit comments