Skip to content

Commit 611d7b4

Browse files
committed
Add gcc to rust image
1 parent 7a4d5b5 commit 611d7b4

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

‎.github/workflows/dump.yml‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,19 @@ jobs:
343343
${{tojson(steps.baseImage.outputs) }}
344344
]
345345
shell: bash
346+
- name: Dump gcc
347+
id: gcc
348+
run: |
349+
${{env.CMD }} || ${{env.CMD }}
350+
env:
351+
CMD: sudo tar --ignore-failed-read -C / -c --no-recursion /usr /usr/lib --recursion /usr/lib/gcc ${{env.UP }}
352+
UPLOAD_LAYER: 1
353+
TAG: runner-gcc
354+
LAYER_DIFF_IDS: |
355+
[
356+
${{tojson(steps.baseImage.outputs) }}
357+
]
358+
shell: bash
346359
- name: Dump rust
347360
id: rust
348361
run: |
@@ -353,7 +366,8 @@ jobs:
353366
TAG: runner-rust
354367
LAYER_DIFF_IDS: |
355368
[
356-
${{tojson(steps.baseImage.outputs) }}
369+
${{tojson(steps.baseImage.outputs) }},
370+
${{tojson(steps.gcc.outputs) }}
357371
]
358372
shell: bash
359373
- name: Dump /usr/share/dotnet
@@ -434,19 +448,6 @@ jobs:
434448
${{tojson(steps.baseImage.outputs) }}
435449
]
436450
shell: bash
437-
- name: Dump gcc
438-
id: gcc
439-
run: |
440-
${{env.CMD }} || ${{env.CMD }}
441-
env:
442-
CMD: sudo tar --ignore-failed-read -C / -c --no-recursion /usr /usr/lib --recursion /usr/lib/gcc ${{env.UP }}
443-
UPLOAD_LAYER: 1
444-
TAG: runner-gcc
445-
LAYER_DIFF_IDS: |
446-
[
447-
${{tojson(steps.baseImage.outputs) }}
448-
]
449-
shell: bash
450451
- name: Dump llvm
451452
id: llvm
452453
run: |

0 commit comments

Comments
(0)