File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 4545 name : build_${{ matrix.worker_id }}_${{ matrix.release_channel }}
4646 path : |
4747 build
48+
49+ process_artifacts_combined :
50+ name : Process artifacts combined
51+ needs : build_and_lint
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v4
55+ - uses : actions/setup-node@v4
56+ with :
57+ node-version : 18.x
58+ cache : " yarn"
59+ cache-dependency-path : yarn.lock
60+ - name : Restore cached node_modules
61+ uses : actions/cache@v4
62+ id : node_modules
63+ with :
64+ path : " **/node_modules"
65+ key : ${{ runner.arch }}-${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
66+ - run : yarn install --frozen-lockfile
67+ - name : Restore archived build
68+ uses : actions/download-artifact@v4
69+ with :
70+ path : build
71+ merge-multiple : true
72+ - run : echo ${{ github.sha }} >> build/COMMIT_SHA
73+ - name : Scrape warning messages
74+ run : |
75+ mkdir -p ./build/__test_utils__
76+ node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
77+ # Compress build directory into a single tarball for easy download
78+ - run : tar -zcvf ./build.tgz ./build
79+ # TODO: Migrate scripts to use `build` directory instead of `build2`
80+ - run : cp ./build.tgz ./build2.tgz
81+ - name : Archive build artifacts
82+ uses : actions/upload-artifact@v4
83+ with :
84+ name : combined_artifacts_${{ github.sha }}
85+ path : |
86+ ./build.tgz
87+ ./build2.tgz
You can’t perform that action at this time.
0 commit comments