Skip to content

Commit e78dee9

Browse files
authored
Update uitest-ios.yml
1 parent de0464f commit e78dee9

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/uitest-ios.yml

+6-15
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,11 @@ jobs:
4343
with:
4444
dotnet-version: ${{ env.DOTNET_VERSION }}
4545

46-
- name: Install .NET MAUI Workload
47-
run: dotnet workload install maui
48-
4946
- name: Restore dependencies
5047
run: dotnet restore
51-
52-
- name: Publish .NET MAUI iOS App
53-
run: dotnet publish ${{ env.MAUI_CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }} -f ${{ env.TFM_PREFIX }}-ios -o ${{ github.workspace }}/artifacts/
54-
55-
- name: Build UITest Project
56-
run: dotnet build ${{ env.UITEST_CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }}
57-
58-
- name: Install App Center CLI
59-
run: npm install --location=global appcenter-cli
60-
61-
- name: Upload App to Test Cloud
62-
run: appcenter test run uitest --app "${{ env.APP_DEFINITION }}" --devices "${{ env.TEST_DEVICES }}" --app-path "${{ github.workspace }}/artifacts/MauiUITestSample.ipa" --test-series "${{ env.TEST_SERIES }}" --build-dir "MyAppTests/bin/${{ env.BUILD_CONFIGURATION }}/net48/" --uitest-tools-dir "MyAppTests/bin/${{ env.BUILD_CONFIGURATION }}/net48/" --token "${{ secrets.APPCENTER_TOKEN_IOS }}" --async
48+
49+
- name: Build
50+
run: dotnet build --configuration Release --no-restore
51+
52+
- name: Test
53+
run: dotnet test --configuration Release --no-build --verbosity normal

0 commit comments

Comments
 (0)