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