From 46cba2c2a51b9bf69d9f5a99dc663d52ea67abb5 Mon Sep 17 00:00:00 2001 From: niuhuan Date: Tue, 22 Mar 2022 11:11:12 +0800 Subject: [PATCH] github action env install --- .github/workflows/darft_release.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/darft_release.yml b/.github/workflows/darft_release.yml index d273260..89163f9 100644 --- a/.github/workflows/darft_release.yml +++ b/.github/workflows/darft_release.yml @@ -114,18 +114,10 @@ jobs: - if: ${{steps.check_asset.outputs.*}} == "BUILD" && ( ${{ env.TARGET }} == "android-arm32" | ${{ env.TARGET }} == "android-arm64" | ${{ env.TARGET }} == "android-x86_64" ) name: Setup java uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: 8 - cache: 'gradle' - - - if: ${{steps.check_asset.outputs.*}} == "BUILD" && ( ${{ env.TARGET }} == "android-arm32" | ${{ env.TARGET }} == "android-arm64" | ${{ env.TARGET }} == "android-x86_64" ) - name: Setup java - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: 8 - cache: 'gradle' + with: + distribution: 'zulu' + java-version: 8 + cache: 'gradle' - if: ${{steps.check_asset.outputs.*}} == "BUILD" && ( ${{ env.TARGET }} == "android-arm32" | ${{ env.TARGET }} == "android-arm64" | ${{ env.TARGET }} == "android-x86_64" ) name: Setup android tools