File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -501,6 +501,9 @@ jobs:
501501 name : Build DevTools and process artifacts
502502 needs : build_and_lint
503503 runs-on : ubuntu-latest
504+ strategy :
505+ matrix :
506+ browser : [chrome, firefox, edge]
504507 steps :
505508 - uses : actions/checkout@v4
506509 with :
@@ -525,7 +528,7 @@ jobs:
525528 pattern : _build_*
526529 path : build
527530 merge-multiple : true
528- - run : ./scripts/ci/pack_and_store_devtools_artifacts.sh
531+ - run : ./scripts/ci/pack_and_store_devtools_artifacts.sh ${{ matrix.browser }}
529532 env :
530533 RELEASE_CHANNEL : experimental
531534 - name : Display structure of build
Original file line number Diff line number Diff line change @@ -17,10 +17,17 @@ npm pack
1717mv ./react-devtools-inline* .tgz ../../build/devtools/
1818
1919cd ../react-devtools-extensions
20- yarn build
21- mv ./chrome/build/ReactDevTools.zip ../../build/devtools/chrome-extension.zip
22- mv ./firefox/build/ReactDevTools.zip ../../build/devtools/firefox-extension.zip
20+ if [[ -n " $1 " ]]; then
21+ yarn build:$1
22+ if [[ " $1 " != " edge" ]]; then
23+ mv ./$1 /build/ReactDevTools.zip ../../build/devtools/$1 -extension.zip
24+ fi
25+ else
26+ yarn build
27+ mv ./chrome/build/ReactDevTools.zip ../../build/devtools/chrome-extension.zip
28+ mv ./firefox/build/ReactDevTools.zip ../../build/devtools/firefox-extension.zip
29+ fi
2330
2431# Compress all DevTools artifacts into a single tarball for easy download
2532cd ../../build/devtools
26- tar -zcvf ../devtools.tgz .
33+ tar -zcvf ../devtools.tgz .
You can’t perform that action at this time.
0 commit comments