From 6b3cf47c0675da40ec324780e86554ef6d3e777e Mon Sep 17 00:00:00 2001 From: stonega Date: Tue, 19 May 2020 13:06:54 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee64967..a64a2d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,13 +15,18 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: - - image: cirrusci/flutter:beta + runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: '12.x' + - uses: subosito/flutter-action@v1 + with: + flutter-version: '1.18.0-11.1.pre' # Runs a single command using the runners shell - name: Run flutter doctor