ci: Rename

This commit is contained in:
Ahmad Ansori Palembani 2024-05-22 12:45:49 +07:00
parent 0079de72a8
commit 6d341705c0
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -71,19 +71,21 @@ jobs:
echo "PREV_TAG=$(git tag -l | grep 'r' | tail -1)" >> $GITHUB_ENV echo "PREV_TAG=$(git tag -l | grep 'r' | tail -1)" >> $GITHUB_ENV
# PROD # PROD
- name: Build release build - name: Build release build and run tests
if: startsWith(env.VERSION_TAG, 'v') if: startsWith(env.VERSION_TAG, 'v')
run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest
# NIGHTLY # NIGHTLY
- name: Build nightly build - name: Build nightly build and run tests
if: startsWith(env.VERSION_TAG, 'r') if: startsWith(env.VERSION_TAG, 'r')
run: ./gradlew assembleStandardNightly testStandardNightlyUnitTest run: ./gradlew assembleStandardNightly testStandardNightlyUnitTest
- name: Publish Test Report - name: Publish test report
uses: mikepenz/action-junit-report@v4 uses: mikepenz/action-junit-report@v4
if: success() || failure() if: success() || failure()
with: with:
include_passed: true
detailed_summary: true
report_paths: '**/build/test-results/test*/TEST-*.xml' report_paths: '**/build/test-results/test*/TEST-*.xml'
- name: Sign APK - name: Sign APK