From fdbaa6e2b079903c1d0e2a50c56be6837e7d2453 Mon Sep 17 00:00:00 2001 From: EldersJavas <55266266+EldersJavas@users.noreply.github.com> Date: Thu, 11 Feb 2021 22:46:16 +0800 Subject: [PATCH] Delete test.yml --- .github/workflows/test.yml | 64 -------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index d20a7292..00000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,64 +0,0 @@ -# This workflow will build a Java project with Gradle -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - -name: test - -on: - push: - branches: [ dev ] - pull_request: - branches: [ dev ] - -jobs: - build_on_Windows: - name: Build on Ubuntu - runs-on: ubuntu-latest - - steps: - - name: Setup timezone - uses: zcong1993/setup-timezone@master - with: - timezone: Asia/Shanghai - - - name: Get current time - uses: srfrnk/current-time@master - id: current-time - with: - format: YYYY-MM-DD - -# env: -# TIME: "${{ steps.current-time.outputs.time }}" -# F_TIME: "${{ steps.current-time.outputs.formattedTime }}" - - - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1.4.3 - with: - java-version: 1.8 - - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- - - name: Build MCinaBox Release (with gradle) - run: | - chmod +x gradlew - ./gradlew clean :app:assembleRelease - shell: bash - - name: Change APK name - run: | - mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/MCinaBox-${{ runner.os }}-Release-${{ steps.current-time.outputs.formattedTime }}.apk - shell: bash - - name: Upload All Pack - uses: actions/upload-artifact@v2 - with: - name: MCinaBox-${{ runner.os }}-ReleasePack-${{ steps.current-time.outputs.formattedTime }} - path: app/build/outputs - - name: Upload APK - uses: actions/upload-artifact@v2 - with: - name: MCinaBox-${{ runner.os }}-Release-${{ steps.current-time.outputs.formattedTime }}.apk - path: app/build/outputs/apk/release/MCinaBox-${{ runner.os }}-Release-${{ steps.current-time.outputs.formattedTime }}.apk