Skip to content

Commit

Permalink
Merge branch 'master' into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jurplel committed Aug 25, 2022
2 parents 64bdb64 + c8ebe28 commit 394303e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
35 changes: 26 additions & 9 deletions action/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"license": "MIT",
"dependencies": {
"@actions/cache": "^3.0.0",
"@actions/core": "^1.7.0",
"@actions/core": "^1.9.1",
"@actions/exec": "^1.1.0",
"compare-versions": "^3.6.0",
"glob": "^7.0.0"
Expand Down
6 changes: 5 additions & 1 deletion action/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ class Inputs {
this.arch = "win64_msvc2017_64";
}
} else if (this.target === "android") {
this.arch = "android_armv7";
if (compareVersions(this.version, ">=", "5.14.0")) {
this.arch = "android";
} else {
this.arch = "android_armv7";
}
}
}

Expand Down

0 comments on commit 394303e

Please sign in to comment.