From adea365829daae58548205a90dd84fbb416e2a86 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 20 Nov 2024 15:22:04 -0800 Subject: [PATCH] Use kolibri-image-pi repo for building raspberry pi image. Take advantage of reduced build time to add to PR build. --- .github/workflows/pr_build_kolibri.yml | 7 +++++++ .github/workflows/release_kolibri.yml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr_build_kolibri.yml b/.github/workflows/pr_build_kolibri.yml index 59898e8a1dc..5b4e0a363e2 100644 --- a/.github/workflows/pr_build_kolibri.yml +++ b/.github/workflows/pr_build_kolibri.yml @@ -59,3 +59,10 @@ jobs: with: tar-file-name: ${{ needs.whl.outputs.tar-file-name }} ref: v0.1.4 + zip: + name: Build Raspberry Pi Image + needs: deb + uses: learningequality/kolibri-image-pi/.github/workflows/build_img.yml@v1.0.0 + with: + deb-file-name: ${{ needs.deb.outputs.deb-file-name }} + ref: v1.0.0 diff --git a/.github/workflows/release_kolibri.yml b/.github/workflows/release_kolibri.yml index 46733cddba1..0aecc20a721 100644 --- a/.github/workflows/release_kolibri.yml +++ b/.github/workflows/release_kolibri.yml @@ -105,10 +105,10 @@ jobs: zip: name: Build Raspberry Pi Image needs: deb - uses: learningequality/pi-gen/.github/workflows/build_zip.yml@v0.16.1 + uses: learningequality/kolibri-image-pi/.github/workflows/build_img.yml@v1.0.0 with: deb-file-name: ${{ needs.deb.outputs.deb-file-name }} - ref: v0.16.1 + ref: v1.0.0 upload_zip: uses: ./.github/workflows/upload_github_release_asset.yml needs: zip