Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Jul 23, 2024
1 parent c00b4ae commit 0f1ee9d
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Image
name: build cube image

on:
workflow_dispatch:
Expand All @@ -12,40 +12,42 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
- name: install dependencies
run: |
sudo apt update
sudo apt install coreutils p7zip-full qemu-user-static
- name: Checkout CustomPiOS
uses: actions/checkout@v3
- name: checkout CustomPiOS
uses: actions/checkout@v4
with:
fetch-depth: 1
repository: 'guysoft/CustomPiOS'
path: CustomPiOS

- name: Checkout Project Repository
uses: actions/checkout@v3
- name: checkout repository code
uses: actions/checkout@v4
with:
fetch-depth: 1
path: repository
submodules: true

- name: Download Raspios Lite ARM64 Image
- name: download raspios lite arm64 image
run: |
cd repository/src/image-raspios_lite_arm64
wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz'
- name: Update CustomPiOS Paths
- name: update CustomPiOS paths
run: |
cd repository/src/image-raspios_lite_arm64
../../../CustomPiOS/src/update-custompios-paths
- name: Build Image
- name: build image
run: |
sudo modprobe loop
cd repository/src
sudo bash -x ./build_dist raspios_lite_arm64
- name: Copy output
- name: copy output
id: copy
run: |
source repository/src/config
Expand Down

0 comments on commit 0f1ee9d

Please sign in to comment.