From ddb30e3ce8587da42e89604b28e308b7c1500457 Mon Sep 17 00:00:00 2001 From: Dmytro Vyazelenko <696855+vyazelenko@users.noreply.github.com> Date: Thu, 16 Jan 2025 23:07:01 +0100 Subject: [PATCH] [Java] Disable Apport on Ubuntu take 2. --- .github/workflows/ci-low-cadence.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-low-cadence.yml b/.github/workflows/ci-low-cadence.yml index 7412497906..1cd52cb9e1 100644 --- a/.github/workflows/ci-low-cadence.yml +++ b/.github/workflows/ci-low-cadence.yml @@ -82,8 +82,8 @@ jobs: if: runner.os == 'Linux' run: | ulimit -c unlimited - sudo systemctl stop apport.service - sudo systemctl disable apport.service + sudo systemctl stop apport.service || true + sudo systemctl disable apport.service || true sudo mkdir /var/coredump sudo chmod a+rw /var/coredump sudo sysctl -w kernel.core_pattern="/var/coredump/core_%e.%p" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c38092169..671561a045 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,8 +98,8 @@ jobs: if: runner.os == 'Linux' run: | ulimit -c unlimited - sudo systemctl stop apport.service - sudo systemctl disable apport.service + sudo systemctl stop apport.service || true + sudo systemctl disable apport.service || true sudo mkdir /var/coredump sudo chmod a+rw /var/coredump sudo sysctl -w kernel.core_pattern="/var/coredump/core_%e.%p"