From b2c01d40382070a0a0d9607d1820c5a831884fd5 Mon Sep 17 00:00:00 2001 From: Petr Fedchenkov Date: Tue, 28 Jun 2022 20:13:28 +0300 Subject: [PATCH] Remove separate job with report from publish We did not define matrix for report job and failing now. In general, separate jobs runs on separate runners, so it looks useless to measure options of another runner. Let remove separate report job and add another report step running always (regardless of previous errors). Signed-off-by: Petr Fedchenkov (cherry picked from commit 46887d3f63a6e7baecf7383d7ce75e7eb3d8caeb) --- .github/workflows/publish.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 97cf3c0efe..2c1671cf4c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,18 +9,6 @@ on: - "[0-9]+.[0-9]+.[0-9]+" jobs: - report: - name: Report - runs-on: ${{ matrix.os }} - steps: - - name: ref - run: echo ${{ github.ref }} - - name: event_name - run: echo ${{ github.event_name }} - - name: disk usage - run: df -h - - name: memory - run: free -m build: if: github.event.repository.full_name == 'lf-edge/eve' runs-on: ${{ matrix.os }} @@ -138,6 +126,15 @@ jobs: run: | rm -rf dist dist.xen make -e V=1 HV=mini LINUXKIT_PKG_TARGET=push eve + - name: Pre clean report + if: ${{ always() }} + run: | + echo Disk usage + df -h + echo Memory + free -m + docker system df + docker system df -v - name: Clean if: ${{ always() }} run: |