From 2224e7140675532be3caf1abb3dab7e35c41ce58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 29 Oct 2024 15:31:55 +0100 Subject: [PATCH] Cleanup CI --- .github/workflows/main.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 434db078aa3c..a0b0492151ef 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,11 +36,6 @@ jobs: PATH: /bin:/usr/bin:/usr/local/bin:/home/runner/.local/bin steps: - - name: GitHub event - run: echo ${GITHUB_EVENT} | python3 -m json.tool - env: - GITHUB_EVENT: ${{ toJson(github) }} - - run: '! ls BACKPORT_TODO' - run: /opt/google/chrome/chrome --version - name: Get sha @@ -58,6 +53,8 @@ jobs: ref: ${{ steps.sha.outputs.sha }} if: github.event_name == 'pull_request_target' + - run: '! ls BACKPORT_TODO' + - uses: actions/setup-node@v4 with: node-version: 18.x @@ -92,6 +89,8 @@ jobs: if: failure() - name: Print environment information run: c2cciutils-env + env: + GITHUB_EVENT: ${{ toJson(github) }} - run: | sudo rm /etc/apt/sources.list.d/*.list