From 38893d6514688bc35b890ddc5a2224cdf853ed0e Mon Sep 17 00:00:00 2001 From: zealotchen Date: Thu, 29 Jun 2023 21:03:20 +0800 Subject: [PATCH] fix(iOS): fix github compare action failed --- .github/workflows/project_artifact_release.yml | 7 +++++-- _Pods.xcodeproj | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 120000 _Pods.xcodeproj diff --git a/.github/workflows/project_artifact_release.yml b/.github/workflows/project_artifact_release.yml index 4ba0c2226ff..0a778e3f15a 100644 --- a/.github/workflows/project_artifact_release.yml +++ b/.github/workflows/project_artifact_release.yml @@ -169,6 +169,9 @@ jobs: js_release: if: github.event.inputs.is_release_for_js == 'true' runs-on: ubuntu-latest + strategy: + matrix: + node: [ 16.x, 17.x ] steps: - name: Checkout (${{ github.event.inputs.git_ref }}) uses: actions/checkout@v3 @@ -178,7 +181,7 @@ jobs: - name: setup-node uses: actions/setup-node@v3 with: - node-version: 17 + node-version: ${{ matrix.node }} registry-url: https://npm.pkg.github.com cache: 'npm' cache-dependency-path: driver/js/package-lock.json @@ -188,7 +191,7 @@ jobs: run: npm run build - uses: actions/setup-node@v3 with: - node-version: 17 + node-version: ${{ matrix.node }} registry-url: 'https://registry.npmjs.org' - name: Publish to NPM if: github.event.inputs.js_npm_dist_tag_name != null && (github.event.inputs.registry_choice == 'Both' || github.event.inputs.registry_choice == 'Default') diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj new file mode 120000 index 00000000000..d6cdc250ef2 --- /dev/null +++ b/_Pods.xcodeproj @@ -0,0 +1 @@ +/Users/sherryfancy/code/rn/Hippy/framework/examples/ios-demo/Pods/Pods.xcodeproj \ No newline at end of file