Skip to content

Commit 849ba17

Browse files
Address comments
1 parent 0e0b4c3 commit 849ba17

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,7 @@ jobs:
5757
cache: 'gradle'
5858

5959
- name: Build with Gradle
60-
run: |
61-
latest_snapshot=$(curl -sf https://oss.sonatype.org/content/repositories/snapshots/org/seleniumhq/selenium/selenium-api/ | \
62-
python -c "import sys,re; print(re.findall(r'\d+\.\d+\.\d+-SNAPSHOT', sys.stdin.read())[-1])")
63-
echo ">>> $latest_snapshot"
64-
echo "latest_snapshot=$latest_snapshot" >> "$GITHUB_ENV"
65-
./gradlew clean build -PisCI -Pselenium.version=$latest_snapshot
60+
run: ./gradlew clean build -PisCI -Pselenium.version=latest.integration
6661

6762
- name: Install Node.js
6863
if: matrix.e2e-tests == 'android' || matrix.e2e-tests == 'ios'
@@ -81,7 +76,7 @@ jobs:
8176
if: matrix.e2e-tests == 'android'
8277
uses: reactivecircus/android-emulator-runner@v2
8378
with:
84-
script: ./gradlew uiAutomationTest -PisCI -Pselenium.version=$latest_snapshot
79+
script: ./gradlew uiAutomationTest -PisCI -Pselenium.version=latest.integration
8580
api-level: ${{ env.ANDROID_SDK_VERSION }}
8681
avd-name: ${{ env.ANDROID_EMU_NAME }}
8782
sdcard-path-or-size: 1500M
@@ -108,4 +103,4 @@ jobs:
108103
xcrun simctl bootstatus $target_sim_id -b
109104
- name: Run iOS E2E tests
110105
if: matrix.e2e-tests == 'ios'
111-
run: ./gradlew xcuiTest -PisCI -Pselenium.version=$latest_snapshot
106+
run: ./gradlew xcuiTest -PisCI -Pselenium.version=latest.integration

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ repositories {
2020
mavenContent {
2121
snapshotsOnly()
2222
}
23+
metadataSources {
24+
artifact()
25+
}
2326
}
2427
}
2528
}

0 commit comments

Comments
 (0)