-
Notifications
You must be signed in to change notification settings - Fork 7
30 lines (29 loc) · 790 Bytes
/
rootfs.yml
File metadata and controls
30 lines (29 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
on:
push:
paths: ['distribution/**']
jobs:
aarch64_job:
runs-on: ubuntu-24.04-arm
name: Create rootfs.img
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Restore cache
id: cache-download
uses: actions/cache@v4
with:
path: distribution/root.tar.xz
key: downloaded-file-${{ runner.os }}-v1
restore-keys: |
downloaded-file-${{ runner.os }}-
- name: Make script executable
run: chmod +x ./distribution/install.sh
- name: Run commands
run: |
cd ./distribution
sudo ./install.sh
- name: Upload
uses: actions/upload-artifact@v4
with:
name: rootfs
path: ./distribution/rootfs.img