From c5f49d4cc18a40dabfed37e5f05ccd913e023b1f Mon Sep 17 00:00:00 2001 From: Oguzhan Soykan Date: Mon, 13 May 2024 10:51:59 +0200 Subject: [PATCH] ci --- .github/workflows/build.yml | 38 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1383a19a..8ae5f0ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,32 +3,24 @@ on: push: branches: [ main ] paths: - - ${{ env.PATH_EXAMPLES }} - - ${{ env.PATH_LIB }} - - ${{ env.PATH_STARTERS }} - - ${{ env.PATH_GRADLE }} - - ${{ env.PATH_GRADLE_KTS }} - - ${{ env.PATH_SETTINGS_KTS }} - - ${{ env.PATH_BUILD_SRC }} + - 'examples/**' + - 'lib/**' + - 'starters/**' + - 'gradle/**' + - 'build.gradle.kts' + - 'settings.gradle.kts' + - 'buildSrc/**' + pull_request: branches: [ main ] paths: - - ${{ env.PATH_EXAMPLES }} - - ${{ env.PATH_LIB }} - - ${{ env.PATH_STARTERS }} - - ${{ env.PATH_GRADLE }} - - ${{ env.PATH_GRADLE_KTS }} - - ${{ env.PATH_SETTINGS_KTS }} - - ${{ env.PATH_BUILD_SRC }} - -env: - PATH_EXAMPLES: 'examples/**' - PATH_LIB: 'lib/**' - PATH_STARTERS: 'starters/**' - PATH_GRADLE: 'gradle/**' - PATH_GRADLE_KTS: 'build.gradle.kts' - PATH_SETTINGS_KTS: 'settings.gradle.kts' - PATH_BUILD_SRC: 'buildSrc/**' + - 'examples/**' + - 'lib/**' + - 'starters/**' + - 'gradle/**' + - 'build.gradle.kts' + - 'settings.gradle.kts' + - 'buildSrc/**' jobs: build-and-test: