Skip to content

Commit

Permalink
Prefer python
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Nov 7, 2023
1 parent 91806b3 commit 0e1671a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
- name: Build with Gradle
run: |
latest_snapshot=$(curl -sf https://oss.sonatype.org/content/repositories/snapshots/org/seleniumhq/selenium/selenium-api/ | \
grep -oE "\d+\.\d+\.\d+-SNAPSHOT" | tail -n 1)
echo "$latest_snapshot"
python -c "import sys,re; print(re.findall(r'\d+\.\d+\.\d+-SNAPSHOT', sys.stdin.read())[-1])")
echo ">>> $latest_snapshot"
echo "latest_snapshot=$latest_snapshot" >> "$GITHUB_ENV"
./gradlew clean build -PisCI -Pselenium.version=$latest_snapshot
Expand Down

0 comments on commit 0e1671a

Please sign in to comment.