Skip to content

Commit 06485ce

Browse files
Refactor GitHub Actions workflow for build process
1 parent ca9b975 commit 06485ce

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,19 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build-and-test:
10+
build:
1111
runs-on: macos-latest
1212

1313
steps:
14-
- name: Checkout repository
14+
- name: Checkout
1515
uses: actions/checkout@v3
1616

17-
- name: Select Xcode version
17+
- name: Select Xcode
1818
run: sudo xcode-select -switch /Applications/Xcode.app
1919

20-
- name: Build project
20+
- name: Build
2121
run: |
2222
xcodebuild clean build \
2323
-project "Leaf Lens.xcodeproj" \
2424
-scheme "Leaf Lens" \
2525
-destination 'generic/platform=iOS Simulator'
26-
27-
- name: Run Unit Tests
28-
run: |
29-
xcodebuild test \
30-
-project "Leaf Lens.xcodeproj" \
31-
-scheme "Leaf Lens" \
32-
-destination 'generic/platform=iOS Simulator'

0 commit comments

Comments
 (0)