File tree 2 files changed +23
-1
lines changed
lib/src/reporters/diff_tool
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 40
40
fi
41
41
shell : bash
42
42
43
+ - name : Setup Android Studio
44
+ run : |
45
+ if [[ "${{ runner.os }}" == "Linux" ]]; then
46
+ sudo snap install androidstudio --classic
47
+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
48
+ brew install --cask android-studio
49
+ elif [[ "${{ runner.os }}" == "Windows" ]]; then
50
+ choco install androidstudio
51
+ fi
52
+ shell : bash
53
+
54
+ - name : Verify Android Studio installation
55
+ run : |
56
+ if [[ "${{ runner.os }}" == "Linux" ]]; then
57
+ /snap/bin/studio --version
58
+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
59
+ "/Applications/Android Studio.app/Contents/MacOS/studio" --version
60
+ elif [[ "${{ runner.os }}" == "Windows" ]]; then
61
+ "C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe" --version
62
+ fi
63
+ shell : bash
64
+
43
65
- name : Build and test
44
66
run : |
45
67
./bash/build_and_test.sh
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ final class MacDiffTools {
18
18
/// `WindowsDiffTools` contains diff tools available on Windows.
19
19
final class WindowsDiffTools {
20
20
static const DiffInfo visualStudioCode = DiffInfo (
21
- command: 'C:\\ Program Files\\ Microsoft VS Code\\ Code.exe ' ,
21
+ command: 'C:\\ Program Files\\ Microsoft VS Code\\ bin \\ code ' ,
22
22
arg: '-d' ,
23
23
name: 'code' ,
24
24
);
You can’t perform that action at this time.
0 commit comments