mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Avoid the creation of separate folders for separate artifacts (#49760)
Summary: When downloading artifacts using a pattern, GHA, by default, creates a folder for each artifacts and copies the artifacts in that folder. This breaks the maven publishing which expects the artifacts in the `artifact` folder and not i a subfolder. The `merge-multiple` option allow for the artifacts to be downloaded in the specified folder, without the extra folder in the path ## Changelog: [Internal] - Avoid the creation of intermediate folder when downloading the artifacts Pull Request resolved: https://github.com/facebook/react-native/pull/49760 Test Plan: GHA <img width="791" alt="Screenshot 2025-03-02 at 11 08 33" src="https://github.com/user-attachments/assets/cfc85b27-117f-4d21-97ef-67493615a5a1" /> Reviewed By: fabriziocucci Differential Revision: D70462254 Pulled By: cipolleschi fbshipit-source-id: ed310a90bcdea55e466d4d71942a25abc6e6986a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
21c85ef52d
commit
7ccb1e1fb0
@@ -105,7 +105,8 @@ runs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
pattern: ReactNativeDependencies*
|
||||
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts/
|
||||
path: ./packages/react-native/ReactAndroid/external-artifacts/artifacts
|
||||
merge-multiple: true
|
||||
- name: Print Artifacts Directory
|
||||
shell: bash
|
||||
run: ls -lR ./packages/react-native/ReactAndroid/external-artifacts/artifacts/
|
||||
|
||||
Reference in New Issue
Block a user