Skip to content

Commit

Permalink
ci: use maven wrapper with version 3.8.7 to fix google-play-services …
Browse files Browse the repository at this point in the history
…artifact install (#2269)

* Add debugging flags to mvn install for google-play-services artifact

* Print maven version

* Add maven wrapper for version 3.8.7

* Try using maven wrapper

* Remove debugging flags

* Try maven wrapper in github action script

* Move maven wrapper setup to root of repo
  • Loading branch information
emmileaf authored Feb 24, 2023
1 parent 37b195b commit 8f1b4c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ jobs:
- name: Install google-play-services artifact
shell: bash
run: |
mvn -v
mvn wrapper:wrapper -Dmaven=3.8.7
mkdir play-services
cd play-services
curl --output play-services-basement-8.3.0.aar https://dl.google.com/dl/android/maven2/com/google/android/gms/play-services-basement/8.3.0/play-services-basement-8.3.0.aar
unzip play-services-basement-8.3.0.aar
mvn install:install-file \
../mvnw.cmd -v
../mvnw.cmd install:install-file \
-Dfile=classes.jar \
-DgroupId=com.google.android.google-play-services \
-DartifactId=google-play-services \
Expand Down

0 comments on commit 8f1b4c9

Please sign in to comment.