Skip to content

Commit f37de5d

Browse files
committed
chore: move git install in requirements steps
1 parent 152cd57 commit f37de5d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/build_release_assets.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,19 @@ jobs:
295295
- name: Install requirements
296296
run: |
297297
case "${{ matrix.image }}" in
298+
debian:*|ubuntu:*)
299+
apt update
300+
apt install --no-install-recommends -y git
301+
;;
302+
rockylinux*)
303+
yum install -y git-core
304+
;;
305+
opensuse*)
306+
zypper install -y git-core
307+
;;
298308
clearlinux*)
299309
swupd bundle-add libstdcpp
310+
swupd bundle-add git
300311
;;
301312
esac
302313
@@ -312,20 +323,15 @@ jobs:
312323
run: |
313324
case "${{ matrix.image }}" in
314325
debian:*|ubuntu:*)
315-
apt update
316-
apt install --no-install-recommends -y git
317326
dpkg -i packages/*.deb
318327
;;
319328
rockylinux*)
320-
yum install -y git-core
321329
rpm -i packages/*.rpm
322330
;;
323331
opensuse*)
324-
zypper install -y git-core
325332
rpm -i packages/*.rpm
326333
;;
327334
clearlinux*)
328-
swupd bundle-add git
329335
330336
# Unpack ggshield in /usr/local/ggshield
331337
pkg_dir=$PWD/packages

0 commit comments

Comments
 (0)