From 19bd3710d099735893fff4f159ba180152beda83 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Tue, 17 Dec 2024 00:29:25 +0100 Subject: [PATCH] this works with act --- .github/workflows/main.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 854d6ea7..3a367c7f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,21 +15,21 @@ jobs: fail-fast: false matrix: include: - - distribution: ubuntu - version: 22.04 - ros: humble + # - distribution: ubuntu + # version: 22.04 + # ros: humble - - distribution: ubuntu - version: 24.04 - ros: jazzy + # - distribution: ubuntu + # version: 24.04 + # ros: jazzy - distribution: almalinux version: 8 ros: humble - - distribution: almalinux - version: 9 - ros: jazzy + # - distribution: almalinux + # version: 9 + # ros: jazzy continue-on-error: ${{ matrix.ros == 'rolling' }} @@ -39,6 +39,16 @@ jobs: PIP_BREAK_SYSTEM_PACKAGES: 1 steps: + # act workaround + - if: ${{ matrix.distribution == 'ubuntu' }} + run: | + apt update + apt -y install nodejs + - if: ${{ matrix.distribution == 'almalinux'}} + run: | + dnf -y module enable nodejs:20 + dnf -y install nodejs + - name: fetch source uses: actions/checkout@v4