Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit dc533c4

Browse files
authored
Fix path for Web (CI build) (software-mansion#2962)
## Description The command `cp -RL src/ lib/` on CI copied the whole catalog instead of content (different behavior than on my local computer). I replaced the command to `cp -RL src/* lib/` to ensure the same behavior on CI and local machines.
1 parent 221ce7d commit dc533c4

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-npm-package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ jobs:
3737
name: ${{ env.PACKAGE_NAME }}
3838
path: '*.tgz'
3939

40+
- name: Compress Android build output
41+
run: zip -r android-build-output.zip android/build/
42+
4043
- name: Upload Android build folder
4144
uses: actions/upload-artifact@v2
4245
with:
4346
name: android-build-output
44-
path: android/build/
47+
path: android-build-output.zip
4548
retention-days: 5

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"type:check": "yarn tsc --noEmit",
2121
"type:generate": "yarn type:generate:clean && yarn type:generate:cp-js-src && yarn type:generate:tsc && yarn type:generate:remove.ts && yarn type:generate:remove.tsx",
2222
"type:generate:clean": "rm -rf lib/ && mkdir lib/",
23-
"type:generate:cp-js-src": "cp -RL src/ lib/",
23+
"type:generate:cp-js-src": "cp -RL src/* lib/",
2424
"type:generate:tsc": "yarn tsc",
2525
"type:generate:remove.ts": "find ./lib -type f -name \"*.ts\" -and -not -name \"*.d.ts\" -delete",
2626
"type:generate:remove.tsx": "find ./lib -type f -name \"*.tsx\" -and -not -name \"*.d.ts\" -delete",

0 commit comments

Comments
 (0)