Store publishing log when publishing a new version of React Native fails (#38846)

Summary:
This change adds a step to store the publishing logs as artifacts when the publishing fails, so that we can analyze what happened without relaunching the job

## Changelog:

[Internal] - Add step to upload publishing logs

Pull Request resolved: https://github.com/facebook/react-native/pull/38846

Test Plan: CircleCI stays green

Reviewed By: cortinico

Differential Revision: D48183313

Pulled By: cipolleschi

fbshipit-source-id: 72fa753c094224d4cb3fea952a75591688ea7822
This commit is contained in:
Riccardo Cipolleschi
2023-08-09 10:12:50 -07:00
committed by Facebook GitHub Bot
parent b7c4736eb6
commit e480f89ae3
+3
View File
@@ -1905,6 +1905,9 @@ jobs:
command: zip -r /tmp/maven-local.zip /tmp/maven-local
- store_artifacts:
path: /tmp/maven-local.zip
- store_artifacts:
when: on_fail
path: /root/.npm/_logs
- persist_to_workspace:
root: /tmp
paths: