Compare commits

...

8 Commits

Author SHA1 Message Date
Yang Chen bdf1f83901 Merge branch 'master' into release/v2
* master:
  Prepare for release 2.3.2.
  Fix escaped environment variables in script.
2020-02-04 12:28:52 +11:00
Yang Chen d3a226f97f Prepare for release 2.3.2. 2020-02-04 12:27:56 +11:00
Yang Chen 4082c705ad Fix escaped environment variables in script. 2020-02-04 12:25:35 +11:00
Yang Chen 5dd12aaed5 Merge branch 'master' into release/v2
* master:
  Prepare for release 2.3.1.
  Update Gradle to 6.1.1 for test-fixture.
  Build tools 29.0.3.
  Validate Gradle Wrapper.
2020-01-31 11:47:56 +11:00
Yang Chen e53c6d9838 Prepare for release 2.3.1. 2020-01-31 11:47:03 +11:00
Yang Chen cb6efbb995 Update Gradle to 6.1.1 for test-fixture. 2020-01-31 11:43:15 +11:00
Yang Chen 97f77e3305 Build tools 29.0.3. 2020-01-31 11:43:15 +11:00
Yang Chen 128c6a83e1 Validate Gradle Wrapper. 2020-01-27 19:48:34 +11:00
8 changed files with 18 additions and 6 deletions
+4
View File
@@ -18,6 +18,9 @@ jobs:
- name: checkout
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: build, test and lint
run: |
npm install
@@ -43,5 +46,6 @@ jobs:
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
echo $GITHUB_REPOSITORY
./gradlew help
./gradlew connectedDebugAndroidTest
+8
View File
@@ -1,5 +1,13 @@
# Change Log
## v2.3.2
* Fixed an issue where environment variables are escaped in script.
## v2.3.1
* Bumped Android Build tools to 29.0.3.
## v2.3.0
* Added support for running the action with Java 9+ by forcing SDK manager and AVD manager to use Java 8.
+1 -1
View File
@@ -84,7 +84,7 @@ function run() {
// execute the custom script
try {
for (const script of scripts) {
yield exec.exec(`${script}`);
yield exec.exec(`sh -c \\"${script}"`);
}
}
catch (error) {
+1 -1
View File
@@ -16,7 +16,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
const exec = __importStar(require("@actions/exec"));
const BUILD_TOOLS_VERSION = '29.0.2';
const BUILD_TOOLS_VERSION = '29.0.3';
/**
* Installs & updates the Android SDK for the macOS platform, including SDK platform for the chosen API level, latest build tools, platform tools, Android Emulator,
* and the system image for the chosen API level, CPU arch, and target.
+1 -1
View File
@@ -79,7 +79,7 @@ async function run() {
// execute the custom script
try {
for (const script of scripts) {
await exec.exec(`${script}`);
await exec.exec(`sh -c \\"${script}"`);
}
} catch (error) {
core.setFailed(error.message);
+1 -1
View File
@@ -1,6 +1,6 @@
import * as exec from '@actions/exec';
const BUILD_TOOLS_VERSION = '29.0.2';
const BUILD_TOOLS_VERSION = '29.0.3';
/**
* Installs & updates the Android SDK for the macOS platform, including SDK platform for the chosen API level, latest build tools, platform tools, Android Emulator,
+1 -1
View File
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.example.testapp"
+1 -1
View File
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip