You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/01/04 13:31:17 UTC

[maven-gh-actions-shared] branch v2 updated: Show free disk space

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git


The following commit(s) were added to refs/heads/v2 by this push:
     new fb0e9ad  Show free disk space
fb0e9ad is described below

commit fb0e9add592e237049f9ee53a4321c0a982bf990
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Jan 4 12:50:09 2022 +0100

    Show free disk space
---
 .github/workflows/maven-verify.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index aa25577..5d63395 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -120,6 +120,10 @@ jobs:
     if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
 
     steps:
+      - name: Show free disk space
+        run: df -h
+        shell: bash
+
       - name: Checkout
         uses: actions/checkout@v2.4.0
         with:
@@ -148,6 +152,11 @@ jobs:
           name: failure-${{ inputs.ff-os }}-${{ inputs.ff-jdk }}-${{ inputs.ff-jdk-distribution }}
           path: ${{ inputs.failure-upload-path }}
 
+      - name: Show free disk space
+        if: always()
+        run: df -h
+        shell: bash
+
   verify:
     needs: fail-fast-build
     name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
@@ -173,6 +182,11 @@ jobs:
           inputs.verify-site-goal != inputs.ff-site-goal
         run: echo ok
 
+      - name: Show free disk space
+        if: steps.should-run.conclusion == 'success'
+        run: df -h
+        shell: bash
+
       - name: Checkout
         if: steps.should-run.conclusion == 'success'
         uses: actions/checkout@v2.4.0
@@ -205,3 +219,8 @@ jobs:
         with:
           name: failure-${{ matrix.os }}-${{ matrix.jdk }}-${{ matrix.distribution }}
           path: ${{ inputs.failure-upload-path }}
+
+      - name: Show free disk space
+        if: steps.should-run.conclusion == 'success' && always()
+        run: df -h
+        shell: bash