Skip to content

Commit b1699b7

Browse files
authored
feat: add BUILD_DOCKER_NEEDS_MORE_SPACE var
1 parent e664963 commit b1699b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,14 @@ jobs:
153153
fail-fast: ${{ inputs.fail_fast }}
154154
matrix:
155155
component: ${{ fromJson(needs.get-flavors.outputs.result).components }}
156-
runs-on: ${{ vars.BUILD_DOCKER_ARTIFACTS_RUNS_ON_OVERRIDE || vars.RUNS_ON_OVERRIDE || inputs.runs_on || 'ubuntu-22.04' }}
156+
runs-on: ${{ vars.BUILD_DOCKER_RUNS_ON_OVERRIDE || vars.RUNS_ON_OVERRIDE || inputs.runs_on || 'ubuntu-22.04' }}
157157
steps:
158158
- name: View flavor and component
159159
shell: bash
160160
run: |
161161
echo "Component ${{ toJson(matrix.component) }}"
162162
- name: Remove unnecessary files
163+
if: ${{ vars.BUILD_DOCKER_NEEDS_MORE_SPACE == "true" }}
163164
run: |
164165
sudo rm -rf /usr/share/dotnet
165166
sudo rm -rf /usr/local/lib/android

0 commit comments

Comments
 (0)