diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6399a1b..99402d8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,25 +10,11 @@ jobs: with: fetch-depth: 0 - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - - name: Cache Gradle packages - uses: actions/cache@v1 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - restore-keys: ${{ runner.os }}-gradle - - name: Run tests env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: ./gradlew check coverageReport sonarqube --no-daemon --no-configuration-cache + run: ./gradlew check coverageReport sonarqube --no-daemon --no-configuration-cache --no-build-cache - name: Publish test reports uses: mikepenz/action-junit-report@v2 diff --git a/.github/workflows/sign.yml b/.github/workflows/sign.yml index 7bd8504..b9f92e7 100644 --- a/.github/workflows/sign.yml +++ b/.github/workflows/sign.yml @@ -13,20 +13,6 @@ jobs: with: fetch-depth: 0 - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - - name: Cache Gradle packages - uses: actions/cache@v1 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} - restore-keys: ${{ runner.os }}-gradle - - name: Sign APK env: MEALIENT_KEY_STORE: ${{ secrets.MEALIENT_KEY_STORE }} @@ -42,7 +28,7 @@ jobs: echo "storePassword=$MEALIENT_KEY_STORE_PASSWORD" >> keystore.properties echo "keyAlias=$MEALIENT_KEY_ALIAS" >> keystore.properties echo "keyPassword=$MEALIENT_KEY_PASSWORD" >> keystore.properties - ./gradlew build coverageReport sonarqube uploadToAppSweepRelease --no-daemon --no-configuration-cache + ./gradlew build coverageReport sonarqube uploadToAppSweepRelease --no-daemon --no-configuration-cache --no-build-cache cp app/build/outputs/apk/release/*.apk mealient-release.apk - name: Upload signed APK