Skip to content

Commit a0057e0

Browse files
committed
Update to latest GH runners
1 parent 0cafef2 commit a0057e0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ on: [push, pull_request]
33
jobs:
44
build:
55
name: Build
6-
runs-on: ubuntu-18.04
6+
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v2
99

10-
- name: Set up JDK 1.8
11-
uses: actions/setup-java@v1
10+
- name: Set up JDK
11+
uses: actions/setup-java@v3
1212
with:
13-
java-version: 1.8
13+
distribution: 'zulu'
14+
java-version: 11
1415

1516
- name: Setup Android SDK
1617
uses: android-actions/setup-android@v2
@@ -29,7 +30,7 @@ jobs:
2930
deploy:
3031
name: Deploy to GitHub Releases
3132
needs: build
32-
runs-on: ubuntu-18.04
33+
runs-on: ubuntu-latest
3334
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
3435
steps:
3536
- name: Get the APK
@@ -45,4 +46,4 @@ jobs:
4546
asset_name: pinning-demo.apk
4647
file: ${{ steps.get_apk.outputs.download-path }}/app-release.apk
4748
tag: ${{ github.ref }}
48-
repo_token: ${{ secrets.GITHUB_TOKEN }}
49+
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)