@@ -19,15 +19,15 @@ jobs:
19
19
- name : Install bubblewrap
20
20
run : sudo apt install bubblewrap
21
21
- name : Checkout repo
22
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
23
23
with :
24
24
submodules : recursive
25
25
# There is a strange bug(?) in nongnu, when you clone a git repository
26
26
# against a commit != HEAD with depth=1, it errors out.
27
27
fetch-depth : 0
28
28
- name : Query cache for sources
29
29
id : cache
30
- uses : actions/cache/restore@v3
30
+ uses : actions/cache/restore@v4
31
31
with :
32
32
path : |
33
33
distfiles
37
37
run : ./download-distfiles.sh
38
38
- name : Cache sources
39
39
if : steps.cache.outputs.cache-hit != 'true'
40
- uses : actions/cache/save@v3
40
+ uses : actions/cache/save@v4
41
41
with :
42
42
path : |
43
43
distfiles
@@ -46,14 +46,14 @@ jobs:
46
46
run : ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1
47
47
- name : Archive created packages
48
48
if : failure() # archive failed builds progress
49
- uses : actions/upload-artifact@v3
49
+ uses : actions/upload-artifact@v4
50
50
with :
51
51
name : packages
52
52
path : target/external/repo/**
53
53
- name : Tar pass1 image
54
54
run : tar -cf pass1_image.tar target
55
55
- name : Archive pass1_image
56
- uses : actions/upload-artifact@v3
56
+ uses : actions/upload-artifact@v4
57
57
with :
58
58
name : internal_pass1_image
59
59
path : pass1_image.tar
@@ -66,21 +66,21 @@ jobs:
66
66
- name : Install bubblewrap
67
67
run : sudo apt install bubblewrap
68
68
- name : Checkout repo
69
- uses : actions/checkout@v3
69
+ uses : actions/checkout@v4
70
70
with :
71
71
submodules : recursive
72
72
# There is a strange bug(?) in nongnu, when you clone a git repository
73
73
# against a commit != HEAD with depth=1, it errors out.
74
74
fetch-depth : 0
75
75
- name : Get pass1_image
76
- uses : actions/download-artifact@v3
76
+ uses : actions/download-artifact@v4
77
77
with :
78
78
name : internal_pass1_image
79
79
- name : Extract pass1_image
80
80
run : tar -xf pass1_image.tar
81
81
- name : Query cache for sources
82
82
id : cache
83
- uses : actions/cache/restore@v3
83
+ uses : actions/cache/restore@v4
84
84
with :
85
85
path : |
86
86
distfiles
90
90
run : ./download-distfiles.sh
91
91
- name : Cache sources
92
92
if : steps.cache.outputs.cache-hit != 'true'
93
- uses : actions/cache/save@v3
93
+ uses : actions/cache/save@v4
94
94
with :
95
95
path : |
96
96
distfiles
@@ -99,14 +99,14 @@ jobs:
99
99
run : ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass2
100
100
- name : Archive created packages
101
101
if : failure() # archive failed builds progress
102
- uses : actions/upload-artifact@v3
102
+ uses : actions/upload-artifact@v4
103
103
with :
104
104
name : internal_packages_pass2
105
105
path : target/external/repo/**
106
106
- name : Tar pass2 image
107
107
run : tar -cf pass2_image.tar target
108
108
- name : Archive pass2_image
109
- uses : actions/upload-artifact@v3
109
+ uses : actions/upload-artifact@v4
110
110
with :
111
111
name : internal_pass2_image
112
112
path : pass2_image.tar
@@ -119,21 +119,21 @@ jobs:
119
119
- name : Install bubblewrap
120
120
run : sudo apt install bubblewrap
121
121
- name : Checkout repo
122
- uses : actions/checkout@v3
122
+ uses : actions/checkout@v4
123
123
with :
124
124
submodules : recursive
125
125
# There is a strange bug(?) in nongnu, when you clone a git repository
126
126
# against a commit != HEAD with depth=1, it errors out.
127
127
fetch-depth : 0
128
128
- name : Get pass2_image
129
- uses : actions/download-artifact@v3
129
+ uses : actions/download-artifact@v4
130
130
with :
131
131
name : internal_pass2_image
132
132
- name : Extract pass2_image
133
133
run : tar -xf pass2_image.tar
134
134
- name : Query cache for sources
135
135
id : cache
136
- uses : actions/cache/restore@v3
136
+ uses : actions/cache/restore@v4
137
137
with :
138
138
path : |
139
139
distfiles
@@ -143,7 +143,7 @@ jobs:
143
143
run : ./download-distfiles.sh
144
144
- name : Cache sources
145
145
if : steps.cache.outputs.cache-hit != 'true'
146
- uses : actions/cache/save@v3
146
+ uses : actions/cache/save@v4
147
147
with :
148
148
path : |
149
149
distfiles
@@ -152,7 +152,7 @@ jobs:
152
152
run : ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass3
153
153
- name : Archive created packages
154
154
if : always() # archive both failed and successful builds
155
- uses : actions/upload-artifact@v3
155
+ uses : actions/upload-artifact@v4
156
156
with :
157
157
name : packages
158
158
path : target/external/repo/**
0 commit comments