添加 action [Maximize build space]
感谢 kokeri 的建议 #125 以及项目作者 easimon/maximize-build-space
This commit is contained in:
parent
a71c8fbf39
commit
cb8dec2324
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
|
@ -50,13 +50,22 @@ env:
|
|||
jobs:
|
||||
Compile:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Maximize Build Space
|
||||
uses: easimon/maximize-build-space@master
|
||||
with:
|
||||
root-reserve-mb: 5120
|
||||
swap-size-mb: 512
|
||||
remove-dotnet: 'true'
|
||||
remove-android: 'true'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Initialization Variables
|
||||
run: |
|
||||
echo "Free space:"
|
||||
df -h
|
||||
if [ -n "${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
then
|
||||
if [ -f "$GITHUB_WORKSPACE/Configs/${{ github.event.inputs.Tempoary_CONFIG }}" ]
|
||||
|
|
Loading…
Reference in New Issue