diff --git a/.github/workflows/ci-dispatch.yml b/.github/workflows/ci-dispatch.yml new file mode 100644 index 0000000..627d159 --- /dev/null +++ b/.github/workflows/ci-dispatch.yml @@ -0,0 +1,20 @@ +name: CI Dispatch + +on: + workflow_dispatch: + inputs: + sming_repo: + description: 'Full URL for Sming repository' + default: 'https://github.com/SmingHub/Sming' + type: string + sming_branch: + description: 'Sming branch to run against' + default: 'develop' + type: string + +jobs: + build: + uses: SmingHub/Sming/.github/workflows/library.yml@develop + with: + sming_repo: ${{ inputs.sming_repo }} + sming_branch: ${{ inputs.sming_branch }} diff --git a/.github/workflows/ci-push.yml b/.github/workflows/ci-push.yml new file mode 100644 index 0000000..e4df218 --- /dev/null +++ b/.github/workflows/ci-push.yml @@ -0,0 +1,7 @@ +name: CI Push + +on: [push, pull_request] + +jobs: + build: + uses: SmingHub/Sming/.github/workflows/library.yml@develop