8181 - name : Install Appium 2.0
8282 run : |
8383 npm install -g appium@next
84- appium driver install uiautomator2
84+ CHROMEDRIVER_VERSION=83.0.4103 appium driver install uiautomator2
8585 appium driver install xcuitest
8686
8787 - name : Start Selenium Grid
@@ -112,18 +112,24 @@ jobs:
112112 if : failure()
113113 run : cat ${{ github.workspace }}/core-java/target/surefire-reports/my-report.md > $GITHUB_STEP_SUMMARY
114114
115- - name : Upload reports folder
115+ - name : Upload target folder
116116 uses : actions/upload-artifact@v3
117117 if : always()
118118 with :
119- name : reports
119+ name : target
120120 path : |
121- ${{ github.workspace }}/core-java/reports
121+ ${{ github.workspace }}/core-java/target
122122 ${{ github.workspace }}/core-java/logs
123123 ${{ github.workspace }}/core-java/selenium-grid.log
124- ${{ github.workspace }}/core-java/target
125124 ${{ github.workspace }}/core-java/screenshots
126125
126+ - name : Upload reports folder
127+ uses : actions/upload-artifact@v3
128+ with :
129+ name : reports
130+ path : |
131+ ${{ github.workspace }}/core-java/reports
132+
127133 analysis :
128134 needs :
129135 - test
@@ -146,12 +152,18 @@ jobs:
146152 path : ~/.m2/repository
147153 key : ${{ runner.os }}-maven-${{ github.sha }}
148154
149- - name : Download target folder
155+ - name : Download reports folder
150156 uses : actions/download-artifact@v3
151157 with :
152158 name : reports
153159 path : ${{ github.workspace }}/core-java
154160
161+ - name : Download target folder
162+ uses : actions/download-artifact@v3
163+ with :
164+ name : target
165+ path : ${{ github.workspace }}/core-java
166+
155167 - name : Build and analyze
156168 env :
157169 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments