83
83
path : |
84
84
./_spidermonkey_install/*
85
85
key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
86
- lookup-only : true # skip download
87
86
- name : Setup container
88
87
if : ${{ matrix.os == 'ubuntu-22.04' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
89
88
run : |
@@ -102,6 +101,11 @@ jobs:
102
101
- name : Build spidermonkey
103
102
if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
104
103
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/
105
109
build-spidermonkey-win :
106
110
runs-on : windows-2022
107
111
# SpiderMonkey requires Visual Studio 2022 or newer.
@@ -117,7 +121,6 @@ jobs:
117
121
path : |
118
122
./_spidermonkey_install/*
119
123
key : spidermonkey-${{ env.MOZCENTRAL_VERSION }}-${{ runner.os }}-${{ runner.arch }}
120
- lookup-only : true # skip download
121
124
- name : Install dependencies
122
125
if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
123
126
shell : powershell
@@ -138,6 +141,11 @@ jobs:
138
141
# see https://groups.google.com/u/1/a/mozilla.org/g/dev-platform/c/hF51Q3j6ca8
139
142
USE_MINTTY : 0
140
143
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/
141
149
build-and-test :
142
150
needs : [build-spidermonkey-unix, build-spidermonkey-win]
143
151
strategy :
0 commit comments