From cbea16041659ac55fd1ef84c81f6fff84eb350ae Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 30 Mar 2025 21:16:18 +0200 Subject: [PATCH] ci(github): also test with re-attach disconnected path. --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 584b0b75a..74fd47101 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,10 @@ jobs: if [[ ${{ matrix.mode }} == full-system-policy ]]; then echo -e "\noverride_dh_auto_build:\n\tmake full" >> debian/rules fi + if [[ ${{ matrix.os }} == ubuntu-24.04 ]] && [[ ${{ matrix.mode }} == default ]]; then + # Test with Re-attach disconnected path + sed -e 's;// builder.Register("attach");builder.Register("attach");' -i pkg/prebuild/cli/cli.go + fi bash dists/build.sh dpkg - name: Install apparmor.d