fix build failure related to disk usage (#1372)
This commit is contained in:
19
.github/workflows/composites/clean-space/action.yaml
vendored
Normal file
19
.github/workflows/composites/clean-space/action.yaml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: clean space
|
||||
description: clean space
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: apt-update
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
||||
- name: Free Disk Space
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
tool-cache: true
|
||||
android: true
|
||||
dotnet: true
|
||||
haskell: true
|
||||
large-packages: true
|
||||
swap-storage: true
|
||||
@@ -12,6 +12,7 @@ runs:
|
||||
cd ..
|
||||
|
||||
docker load -i /tmp/docker/images/spring-cloud-kubernetes-fabric8-istio-it.tar
|
||||
rm -fr /tmp/docker/images/spring-cloud-kubernetes-fabric8-istio-it.tar
|
||||
cd spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-fabric8-istio-it/
|
||||
../.././mvnw clean install -Dskip.build.image=true
|
||||
cd ../..
|
||||
|
||||
6
.github/workflows/maven.yaml
vendored
6
.github/workflows/maven.yaml
vendored
@@ -16,6 +16,9 @@ jobs:
|
||||
- name: checkout project
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: clean space
|
||||
uses: ./.github/workflows/composites/clean-space
|
||||
|
||||
- name: set env variables
|
||||
uses: ./.github/workflows/composites/env-variables
|
||||
|
||||
@@ -111,6 +114,9 @@ jobs:
|
||||
- name: checkout project
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: clean space
|
||||
uses: ./.github/workflows/composites/clean-space
|
||||
|
||||
- name: set env variables
|
||||
uses: ./.github/workflows/composites/env-variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user