From 976dca2f2183bad023d2f36ffd1a71a29bf5def3 Mon Sep 17 00:00:00 2001 From: 7c00 Date: Mon, 29 Aug 2022 10:28:00 +0800 Subject: [PATCH] Fix actions --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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