Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
poteto committed Jul 18, 2024
2 parents 51a2a24 + 833e387 commit 5d15b46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ jobs:
- setup_node_modules
- run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA
- run: |
mkdir -p ./build/__test_utils__
node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
mkdir -p ./build/__test_utils__
node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
# Compress build directory into a single tarball for easy download
- run: tar -zcvf ./build.tgz ./build
# TODO: Migrate scripts to use `build` directory instead of `build2`
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/runtime_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,10 @@ jobs:
pattern: _build_*
path: build
merge-multiple: true
- name: Scrape warning messages
run: |
mkdir -p ./build/__test_utils__
node ./scripts/print-warnings/print-warnings.js > build/__test_utils__/ReactAllWarnings.js
- name: Display structure of build for PR
run: ls -R build
- name: Restore archived base-build from origin/main
Expand Down
2 changes: 0 additions & 2 deletions scripts/release/download-experimental-build-ghaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ async function getWorkflowRunId(commit) {
`curl -L ${GITHUB_HEADERS} https://github.com/gitapi/repos/${OWNER}/${REPO}/actions/workflows/${getWorkflowId()}/runs?head_sha=${commit}&branch=main&exclude_pull_requests=true`
);

console.log(res);
const json = JSON.parse(res.stdout);
let workflowRun;
if (json.total_count === 1) {
Expand All @@ -95,7 +94,6 @@ async function getArtifact(workflowRunId, artifactName) {
`curl -L ${GITHUB_HEADERS} https://github.com/gitapi/repos/${OWNER}/${REPO}/actions/runs/${workflowRunId}/artifacts?per_page=100&name=${artifactName}`
);

console.log(res);
const json = JSON.parse(res.stdout);
let artifact;
if (json.total_count === 1) {
Expand Down

0 comments on commit 5d15b46

Please sign in to comment.