@@ -114,7 +114,7 @@ jobs:
114
114
name : Build Linux
115
115
needs :
116
116
- setup
117
- runs-on : ubuntu-20.04
117
+ runs-on : ubuntu-latest
118
118
119
119
env :
120
120
VERSION_BUILD : ${{ needs.setup.outputs.version-build }}
@@ -311,7 +311,7 @@ jobs:
311
311
cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR}
312
312
cp $root/out/cf-cli_linux_i686 cf/usr/bin/cf${VERSION_MAJOR}
313
313
ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf
314
- fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb
314
+ fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb
315
315
mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_i686.deb $root/packaged-deb
316
316
rm -rf cf
317
317
popd
@@ -336,7 +336,7 @@ jobs:
336
336
cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR}
337
337
cp $root/out/cf-cli_linux_x86-64 cf/usr/bin/cf${VERSION_MAJOR}
338
338
ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf
339
- fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb
339
+ fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb
340
340
mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_x86-64.deb $root/packaged-deb
341
341
popd
342
342
)
@@ -360,7 +360,7 @@ jobs:
360
360
cp ../completion/cf${VERSION_MAJOR} cf/usr/share/bash-completion/completions/cf${VERSION_MAJOR}
361
361
cp $root/out/cf-cli_linux_arm64 cf/usr/bin/cf${VERSION_MAJOR}
362
362
ln -frs cf/usr/bin/cf${VERSION_MAJOR} cf/usr/bin/cf
363
- fakeroot dpkg --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb
363
+ fakeroot dpkg-deb -Zxz --build cf cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb
364
364
mv cf${VERSION_MAJOR}-cli-installer_${VERSION_BUILD}_arm64.deb $root/packaged-deb
365
365
popd
366
366
)
@@ -905,20 +905,29 @@ jobs:
905
905
needs :
906
906
- setup
907
907
- build-linux
908
- runs-on : ubuntu-20.04
909
- container :
910
- image : ubuntu:20.04
908
+ runs-on : ubuntu-latest
911
909
steps :
912
910
913
911
- name : Download Signed Linux Packages
914
912
uses : actions/download-artifact@v4
915
913
with :
916
914
name : cf-cli-linux-deb-packages
917
915
918
- - name : Display structure of downloaded files
916
+ - name : Display structure of downloaded files and test compression
919
917
run : |
920
918
ls -R
919
+
920
+ for i in debian:11 debian:12 ubuntu:20.04 ubuntu:22.04 ubuntu; do docker run \
921
+ --interactive \
922
+ --rm \
923
+ -v .:/workspace \
924
+ ${i:?} <<EOC
925
+ printf "${i:?} -> "
926
+ grep PRETTY_NAME /etc/os-release | cut -d= -f2-
927
+ cd workspace
921
928
ls *.deb | xargs -n1 dpkg --info
929
+ EOC
930
+ done
922
931
923
932
test-macos :
924
933
name : Test macOS Artifacts
@@ -1069,4 +1078,4 @@ jobs:
1069
1078
1070
1079
git push
1071
1080
fi
1072
- popd
1081
+ popd
0 commit comments