Skip to content

Commit 302bd4c

Browse files
committed
Update versions of CI actions
(Stop GH actions complaining)
1 parent 749b2bf commit 302bd4c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/bwrap.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- name: Install bubblewrap
2020
run: sudo apt install bubblewrap
2121
- name: Checkout repo
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
2424
submodules: recursive
2525
# There is a strange bug(?) in nongnu, when you clone a git repository
2626
# against a commit != HEAD with depth=1, it errors out.
2727
fetch-depth: 0
2828
- name: Query cache for sources
2929
id: cache
30-
uses: actions/cache/restore@v3
30+
uses: actions/cache/restore@v4
3131
with:
3232
path: |
3333
distfiles
@@ -37,7 +37,7 @@ jobs:
3737
run: ./download-distfiles.sh
3838
- name: Cache sources
3939
if: steps.cache.outputs.cache-hit != 'true'
40-
uses: actions/cache/save@v3
40+
uses: actions/cache/save@v4
4141
with:
4242
path: |
4343
distfiles
@@ -46,14 +46,14 @@ jobs:
4646
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass1
4747
- name: Archive created packages
4848
if: failure() # archive failed builds progress
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: packages
5252
path: target/external/repo/**
5353
- name: Tar pass1 image
5454
run: tar -cf pass1_image.tar target
5555
- name: Archive pass1_image
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: internal_pass1_image
5959
path: pass1_image.tar
@@ -66,21 +66,21 @@ jobs:
6666
- name: Install bubblewrap
6767
run: sudo apt install bubblewrap
6868
- name: Checkout repo
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
with:
7171
submodules: recursive
7272
# There is a strange bug(?) in nongnu, when you clone a git repository
7373
# against a commit != HEAD with depth=1, it errors out.
7474
fetch-depth: 0
7575
- name: Get pass1_image
76-
uses: actions/download-artifact@v3
76+
uses: actions/download-artifact@v4
7777
with:
7878
name: internal_pass1_image
7979
- name: Extract pass1_image
8080
run: tar -xf pass1_image.tar
8181
- name: Query cache for sources
8282
id: cache
83-
uses: actions/cache/restore@v3
83+
uses: actions/cache/restore@v4
8484
with:
8585
path: |
8686
distfiles
@@ -90,7 +90,7 @@ jobs:
9090
run: ./download-distfiles.sh
9191
- name: Cache sources
9292
if: steps.cache.outputs.cache-hit != 'true'
93-
uses: actions/cache/save@v3
93+
uses: actions/cache/save@v4
9494
with:
9595
path: |
9696
distfiles
@@ -99,14 +99,14 @@ jobs:
9999
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass2
100100
- name: Archive created packages
101101
if: failure() # archive failed builds progress
102-
uses: actions/upload-artifact@v3
102+
uses: actions/upload-artifact@v4
103103
with:
104104
name: internal_packages_pass2
105105
path: target/external/repo/**
106106
- name: Tar pass2 image
107107
run: tar -cf pass2_image.tar target
108108
- name: Archive pass2_image
109-
uses: actions/upload-artifact@v3
109+
uses: actions/upload-artifact@v4
110110
with:
111111
name: internal_pass2_image
112112
path: pass2_image.tar
@@ -119,21 +119,21 @@ jobs:
119119
- name: Install bubblewrap
120120
run: sudo apt install bubblewrap
121121
- name: Checkout repo
122-
uses: actions/checkout@v3
122+
uses: actions/checkout@v4
123123
with:
124124
submodules: recursive
125125
# There is a strange bug(?) in nongnu, when you clone a git repository
126126
# against a commit != HEAD with depth=1, it errors out.
127127
fetch-depth: 0
128128
- name: Get pass2_image
129-
uses: actions/download-artifact@v3
129+
uses: actions/download-artifact@v4
130130
with:
131131
name: internal_pass2_image
132132
- name: Extract pass2_image
133133
run: tar -xf pass2_image.tar
134134
- name: Query cache for sources
135135
id: cache
136-
uses: actions/cache/restore@v3
136+
uses: actions/cache/restore@v4
137137
with:
138138
path: |
139139
distfiles
@@ -143,7 +143,7 @@ jobs:
143143
run: ./download-distfiles.sh
144144
- name: Cache sources
145145
if: steps.cache.outputs.cache-hit != 'true'
146-
uses: actions/cache/save@v3
146+
uses: actions/cache/save@v4
147147
with:
148148
path: |
149149
distfiles
@@ -152,7 +152,7 @@ jobs:
152152
run: ./rootfs.py --bwrap --external-sources --build-kernels --cores 2 --internal-ci pass3
153153
- name: Archive created packages
154154
if: always() # archive both failed and successful builds
155-
uses: actions/upload-artifact@v3
155+
uses: actions/upload-artifact@v4
156156
with:
157157
name: packages
158158
path: target/external/repo/**

0 commit comments

Comments
 (0)