File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -40,25 +40,22 @@ jobs:
40
40
steps :
41
41
- uses : actions/checkout@v4
42
42
43
- - name : " Set gcc version output"
43
+ - name : " Set GCC version output"
44
44
id : gcc-version
45
45
run : |
46
- echo "::set-output name =version::${GCC_VERSION}"
46
+ echo "::set-output version =version::${GCC_VERSION}"
47
47
48
48
- name : " Cache GCC build"
49
49
id : gcc-cache
50
50
uses : actions/cache@v4
51
51
with :
52
- path : |
53
- "**/external/gcc"
52
+ path : " external/gcc/gcc-${{steps.gcc-version.outputs.version}}"
54
53
key : ${{ runner.os }}-gcc-${{steps.gcc-version.outputs.version}}
55
- restore-keys : |
56
- ${{ runner.os }}-gcc-
57
54
58
- # - name: "Build GCC from source"
59
- # if: steps.cache- gcc.outputs.cache-hit != 'true'
60
- # shell: bash
61
- # run: bash ./scripts/build_gcc.sh --version "$GCC_VERSION"
55
+ - name : " Build GCC from source"
56
+ if : steps.gcc-cache .outputs.cache-hit != 'true'
57
+ shell : bash
58
+ run : bash ./scripts/build_gcc.sh --version "$GCC_VERSION"
62
59
63
60
- name : " Install AutonomySim Dependencies"
64
61
shell : bash
You can’t perform that action at this time.
0 commit comments