Skip to content

Commit

Permalink
调整actions脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
AoEiuV020 committed Mar 12, 2021
1 parent 2fb9ba4 commit a0b22ac
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
path: nameWithVersion
build_android:
needs: [build_env]
name: Build Flutter (Android)
name: Build (Android)
runs-on: ubuntu-latest
steps:
- name: make nameWithVersion
Expand All @@ -33,13 +33,12 @@ jobs:
echo "::set-output name=nameWithVersion::$(cat nameWithVersion)"
rm nameWithVersion
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
channel: 'beta'
- run: flutter pub get
java-version: 1.8
- name: Build with Gradle
- run: |
mkdir -p build
chmod +x gradlew
Expand Down

0 comments on commit a0b22ac

Please sign in to comment.