8383 path : |
8484 ./_spidermonkey_install/*
8585 key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
86- lookup-only : true # skip download
8786 - name : Setup container
8887 if : ${{ matrix.os == 'ubuntu-22.04' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
8988 run : |
@@ -102,6 +101,11 @@ jobs:
102101 - name : Build spidermonkey
103102 if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
104103 run : ./setup.sh
104+ - name : Upload spidermonkey build as CI artifacts
105+ uses : actions/upload-artifact@v4
106+ with :
107+ name : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
108+ path : ./_spidermonkey_install/
105109 build-spidermonkey-win :
106110 runs-on : windows-2022
107111 # SpiderMonkey requires Visual Studio 2022 or newer.
@@ -117,7 +121,6 @@ jobs:
117121 path : |
118122 ./_spidermonkey_install/*
119123 key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
120- lookup-only : true # skip download
121124 - name : Install dependencies
122125 if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
123126 shell : powershell
@@ -138,6 +141,11 @@ jobs:
138141 # see https://groups.google.com/u/1/a/mozilla.org/g/dev-platform/c/hF51Q3j6ca8
139142 USE_MINTTY : 0
140143 run : /c/mozilla-build/start-shell.bat -use-full-path -here ./setup.sh
144+ - name : Upload spidermonkey build as CI artifacts
145+ uses : actions/upload-artifact@v4
146+ with :
147+ name : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
148+ path : ./_spidermonkey_install/
141149 build-and-test :
142150 needs : [build-spidermonkey-unix, build-spidermonkey-win]
143151 strategy :
0 commit comments