diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a699f4..0eb119f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: - run: npx react-native init example working-directory: ../ - run: cp index.tsx ../example/ - - run: cp -r example ../example/ + - run: rm ../example/index.js - run: npm i ../react-native-amap-geolocation/react-native-amap-geolocation-0.0.0.tgz working-directory: ../example - run: sed -i.backup -r 's/(enableSeparateBuildPerCPUArchitecture = )false/\1true/' build.gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9dbbc2..7637c13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - run: npx react-native init example working-directory: ../ - run: cp index.tsx ../example/ - - run: cp -r example ../example/ + - run: rm ../example/index.js - run: npm i ../react-native-amap-geolocation/react-native-amap-geolocation-0.0.0.tgz working-directory: ../example - run: sed -i.backup -r 's/(enableSeparateBuildPerCPUArchitecture = )false/\1true/' build.gradle