File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,15 @@ on: [push, pull_request]
3
3
jobs :
4
4
build :
5
5
name : Build
6
- runs-on : ubuntu-18.04
6
+ runs-on : ubuntu-latest
7
7
steps :
8
8
- uses : actions/checkout@v2
9
9
10
- - name : Set up JDK 1.8
11
- uses : actions/setup-java@v1
10
+ - name : Set up JDK
11
+ uses : actions/setup-java@v3
12
12
with :
13
- java-version : 1.8
13
+ distribution : ' zulu'
14
+ java-version : 11
14
15
15
16
- name : Setup Android SDK
16
17
uses : android-actions/setup-android@v2
29
30
deploy :
30
31
name : Deploy to GitHub Releases
31
32
needs : build
32
- runs-on : ubuntu-18.04
33
+ runs-on : ubuntu-latest
33
34
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
34
35
steps :
35
36
- name : Get the APK
45
46
asset_name : pinning-demo.apk
46
47
file : ${{ steps.get_apk.outputs.download-path }}/app-release.apk
47
48
tag : ${{ github.ref }}
48
- repo_token : ${{ secrets.GITHUB_TOKEN }}
49
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments