From 4c497779a2c5686c6933fab93000c23794040e5d Mon Sep 17 00:00:00 2001 From: mandar1jn <49076509+mandar1jn@users.noreply.github.com> Date: Sun, 24 Oct 2021 17:33:21 +0200 Subject: [PATCH] Updated workflow files (#2079) * Updated workflow files * added the manual trigger to the android workflow --- .github/workflows/android.yml | 10 ++++++++++ .github/workflows/cmake.yml | 9 +++++++++ .github/workflows/linux.yml | 11 ++++++++++- .github/workflows/linux_examples.yml | 9 ++++++++- .github/workflows/macos.yml | 11 ++++++++++- .github/workflows/webassembly.yml | 11 ++++++++++- .github/workflows/windows.yml | 11 ++++++++++- .github/workflows/windows_examples.yml | 9 ++++++++- 8 files changed, 75 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2a12f8ff..b7b286a3 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,8 +1,18 @@ name: Android on: + workflow_dispatch: push: + workflow_dispatch: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/android.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/android.yml' release: types: [published] diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 803b472a..7d9b25c7 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -1,8 +1,17 @@ name: CMakeBuilds on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/cmake.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/cmake.yml' env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 19021752..84bc29c5 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,8 +1,17 @@ name: Linux -on: +on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/linux.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/linux.yml' release: types: [published] diff --git a/.github/workflows/linux_examples.yml b/.github/workflows/linux_examples.yml index c268f479..fc56b4ad 100644 --- a/.github/workflows/linux_examples.yml +++ b/.github/workflows/linux_examples.yml @@ -1,11 +1,18 @@ name: Linux Examples on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/linux_examples.yml' pull_request: branches: [ master ] paths: - - 'examples/**' + - 'src/**' + - 'examples/**' + - '.github/workflows/linux_examples.yml' jobs: build: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 579b7237..0b05b70e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,8 +1,17 @@ name: macOS -on: +on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/macos.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/macos.yml' release: types: [published] diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml index de35d0ea..a4fc5ca6 100644 --- a/.github/workflows/webassembly.yml +++ b/.github/workflows/webassembly.yml @@ -1,8 +1,17 @@ name: WebAssembly -on: +on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/webassembly.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/webassembly.yml' release: types: [published] diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 3c9ce45f..9eed1623 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,8 +1,17 @@ name: Windows -on: +on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/windows.yml' pull_request: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/windows.yml' release: types: [published] diff --git a/.github/workflows/windows_examples.yml b/.github/workflows/windows_examples.yml index 05bc4994..0309a566 100644 --- a/.github/workflows/windows_examples.yml +++ b/.github/workflows/windows_examples.yml @@ -1,11 +1,18 @@ name: Windows Examples on: + workflow_dispatch: push: + paths: + - 'src/**' + - 'examples/**' + - '.github/workflows/windows_examples.yml' pull_request: branches: [ master ] paths: - - 'examples/**' + - 'src/**' + - 'examples/**' + - '.github/workflows/windows_examples.yml' jobs: build: