From 7823c184e0835433e1fc730a600694ae965823d3 Mon Sep 17 00:00:00 2001 From: Ian Lavery Date: Thu, 25 Nov 2021 14:20:21 -0800 Subject: [PATCH] updated actions (#227) --- .github/workflows/dotnet.yml | 21 +++++++++++++++++++-- .github/workflows/java.yml | 6 ++---- .github/workflows/nodejs.yml | 15 +++++++++++++-- .github/workflows/python.yml | 6 ++---- .github/workflows/react-native.yml | 14 ++++++++++---- .github/workflows/rust.yml | 6 ++---- 6 files changed, 48 insertions(+), 20 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index b8346645d..1813dea0a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,24 +6,41 @@ on: branches: [ master ] paths: - 'binding/dotnet/**' + - '!binding/dotnet/README.md' - 'lib/beaglebone/**' + - 'lib/common/**' - 'lib/linux/**' - 'lib/jetson/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - '!binding/dotnet/README.md' + - 'resources/contexts/beaglebone/**' + - 'resources/contexts/common/**' + - 'resources/contexts/jetson/**' + - 'resources/contexts/linux/**' + - 'resources/contexts/mac/**' + - 'resources/contexts/raspberry-pi/**' + - 'resources/contexts/windows/**' + pull_request: branches: [ master ] paths: - 'binding/dotnet/**' + - '!binding/dotnet/README.md' - 'lib/beaglebone/**' + - 'lib/common/**' - 'lib/linux/**' - 'lib/jetson/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - '!binding/dotnet/README.md' + - 'resources/contexts/beaglebone/**' + - 'resources/contexts/common/**' + - 'resources/contexts/jetson/**' + - 'resources/contexts/linux/**' + - 'resources/contexts/mac/**' + - 'resources/contexts/raspberry-pi/**' + - 'resources/contexts/windows/**' defaults: run: diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 44456c738..2998b98d8 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -8,8 +8,7 @@ on: - 'binding/java/**' - '!binding/java/README.md' - 'lib/java/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**' @@ -21,8 +20,7 @@ on: - 'binding/java/**' - '!binding/java/README.md' - 'lib/java/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**' diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6203eb236..472c03e7a 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,14 +7,25 @@ on: - 'binding/nodejs/**' - '!binding/nodejs/README.md' - 'lib/node/**' - - 'resources/**' + - 'resources/contexts/beaglebone/**' + - 'resources/contexts/jetson/**' + - 'resources/contexts/linux/**' + - 'resources/contexts/mac/**' + - 'resources/contexts/raspberry-pi/**' + - 'resources/contexts/windows/**' + pull_request: branches: [ master ] paths: - 'binding/nodejs/**' - '!binding/nodejs/README.md' - 'lib/node/**' - - 'resources/**' + - 'resources/contexts/beaglebone/**' + - 'resources/contexts/jetson/**' + - 'resources/contexts/linux/**' + - 'resources/contexts/mac/**' + - 'resources/contexts/raspberry-pi/**' + - 'resources/contexts/windows/**' defaults: run: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a34385d96..a16603e39 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,8 +13,7 @@ on: - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**' @@ -32,8 +31,7 @@ on: - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**' diff --git a/.github/workflows/react-native.yml b/.github/workflows/react-native.yml index 8813e2181..7a65bcc99 100644 --- a/.github/workflows/react-native.yml +++ b/.github/workflows/react-native.yml @@ -5,15 +5,21 @@ on: paths: - 'binding/react-native/**' - '!binding/react-native/README.md' - - 'lib/**' - - 'resources/**' + - 'lib/android/**' + - 'lib/common/**' + - 'lib/ios/**' + - 'resources/android/**' + - 'resources/ios/**' pull_request: branches: [ master ] paths: - 'binding/react-native/**' - '!binding/react-native/README.md' - - 'lib/**' - - 'resources/**' + - 'lib/android/**' + - 'lib/common/**' + - 'lib/ios/**' + - 'resources/android/**' + - 'resources/ios/**' defaults: run: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5f9f35a07..7c98078a4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,8 +14,7 @@ on: - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**' @@ -33,8 +32,7 @@ on: - 'lib/mac/**' - 'lib/raspberry-pi/**' - 'lib/windows/**' - - 'resources/contexts/beaglebone/**' - - 'resources/contexts/common/**' + - 'resources/contexts/beaglebone/**' - 'resources/contexts/jetson/**' - 'resources/contexts/linux/**' - 'resources/contexts/mac/**'