Skip to content

add on workflow dispacth for github manual trigger #68

add on workflow dispacth for github manual trigger

add on workflow dispacth for github manual trigger #68

name: ContinuousIntegration
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
pre-build:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v3
- name: PrepareKeychain
run: code/ci_actions/01_keychain.sh
- name: PrepareAmplify
run: code/ci_actions/02_amplify.sh
build:
needs: pre-build
runs-on: self-hosted
steps:
- name: Build
run: code/ci_actions/03_build.sh
test:
needs: build
runs-on: self-hosted
steps:
- name: LocalTest
run: code/ci_actions/04_local_tests.sh
- name: DeviceFarmTest
run: code/ci_actions/05_devicefarm_tests.sh
cleanup:
needs: test
runs-on: self-hosted
steps:
- name: cleanup
run: code/ci_actions/07_cleanup.sh