ci: Don't run on dev/** and fix/**

This should be triggered using PR instead
This commit is contained in:
Ahmad Ansori Palembani 2024-06-09 10:17:45 +07:00
parent 82b5cb9a24
commit 41622519e6
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -3,8 +3,6 @@ on:
push:
branches:
- master
- dev/**
- fix/**
workflow_dispatch:
inputs:
version:
@ -86,11 +84,6 @@ jobs:
if: startsWith(env.VERSION_TAG, 'r')
run: ./gradlew assembleStandardNightly testStandardNightlyUnitTest
# DEBUG
- name: Build and run tests
if: startsWith(env.VERSION_TAG, 'r') != true && startsWith(env.VERSION_TAG, 'v') != true
run: ./gradlew assembleStandardDebug testStandardDebugUnitTest
- name: Publish test report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
@ -110,12 +103,6 @@ jobs:
keyPassword: ${{ secrets.KEY_PASSWORD }}
summarise: true
- name: Upload APK to artifact
uses: actions/upload-artifact@v4
if: startsWith(env.VERSION_TAG, 'r') != true && startsWith(env.VERSION_TAG, 'v') != true
with:
path: app/build/outputs/apk/standard/debug/*.apk
- name: Clean up build artifacts
if: env.VERSION_TAG != ''
run: |