File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 12
12
options :
13
13
- x86_64
14
14
- arm64
15
- cache :
15
+ use-cached :
16
16
required : false
17
17
type : boolean
18
18
default : false
25
25
arch :
26
26
required : true
27
27
type : string
28
- # TODO: Actually use this
29
- cache :
28
+ use-cached :
30
29
required : false
31
30
type : boolean
32
31
default : true
45
44
steps :
46
45
47
46
- name : Restore cache for rootfs
47
+ if : ${{ inputs.use-cached == true }}
48
48
id : cache-check
49
49
uses : actions/cache/restore@v4
50
50
with :
99
99
# Test generating rootfs in non-standard location
100
100
ROOTFS=${ALPINE_ROOTFS} make rootfs-init
101
101
102
- # Verify it matches previously generated rootfs
103
- cmp ./${ALPINE_ROOTFS} ./rootfs/${ALPINE_ROOTFS}
104
-
105
102
# Generate ubuntu rootfs and cpio (with CPIO at a non-standard location)
106
103
scripts/ubuntu_debootstrap.sh jammy ${{ inputs.arch }}
107
104
SUDO=1 ROOTFS_DIR=./rootfs/ubuntu-jammy-${{ inputs.arch }} CPIO_FILE=${UBUNTU_CPIO} make rootfs-overlay
You can’t perform that action at this time.
0 commit comments