Skip to content

Commit

Permalink
ci: fix pipeline by removing archive step for iOS and redundant cd ios
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviraBurchik committed Jun 16, 2022
1 parent 1576f1b commit 126285f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/react-native-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
yarn
yarn test --forceExit
metro-ios:
name: "Metro bundling for iOS"
name: 'Metro bundling for iOS'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -89,7 +89,7 @@ jobs:
mkdir -p /tmp/artifacts
yarn react-native bundle --entry-file index.js --platform ios --bundle-output /tmp/artifacts/bundle.js --sourcemap-output /tmp/artifacts/output.map
metro-android:
name: "Metro bundling for Android"
name: 'Metro bundling for Android'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -103,7 +103,7 @@ jobs:
mkdir -p /tmp/artifacts
./gradlew bundleDebugJsAndAssets
build-ios:
name: "Build iOS"
name: 'Build iOS'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -119,17 +119,11 @@ jobs:
bundle install
cd fixture
yarn
cd ios
bundle exec pod install
mkdir -p /tmp/artifacts
set -o pipefail && env NSUnbufferedIO=YES xcodebuild clean build -scheme ReactNativePerformanceFixture -workspace ReactNativePerformanceFixture.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 11,OS=latest' | tee /tmp/artifacts/ios_build.log
- name: Archive iOS build artifacts
uses: actions/upload-artifact@v3
with:
name: ios-build-artifacts
path: /tmp/artifacts
build-android:
name: "Build Android"
name: 'Build Android'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 126285f

Please sign in to comment.