* trigger workflows only for corresponding files/folders

* allow running them unconditionally for branches matching `ci-build*`
This commit is contained in:
otavepto 2024-05-09 01:11:17 +03:00
parent 1e2425d48a
commit 31f6ed7495
6 changed files with 34 additions and 61 deletions

View File

@ -8,19 +8,12 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- 'tools/generate_emu_config/**'
workflow_dispatch:
# allows manual trigger

View File

@ -8,19 +8,12 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- 'tools/generate_emu_config/**'
workflow_dispatch:
# allows manual trigger

View File

@ -8,19 +8,20 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- '!dev.notes/**'
- '!post_build/**'
- '!z_original_repo_files/**'
- '!sdk/*.txt'
- '!LICENSE'
# tools
- '!tools/generate_emu_config/**'
- '!tools/migrate_gse/**'
- '!tools/steamclient_loader/linux/**' # these are just shell scripts, not compiled
workflow_dispatch:
# allows manual trigger
@ -29,7 +30,6 @@ permissions:
contents: write
env:
DEPS_CACHE_KEY: emu-deps-linux
DEPS_CACHE_DIR: build/deps/linux

View File

@ -8,19 +8,12 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- 'tools/migrate_gse/**'
workflow_dispatch:
# allows manual trigger

View File

@ -8,19 +8,12 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- 'tools/migrate_gse/**'
workflow_dispatch:
# allows manual trigger

View File

@ -8,19 +8,20 @@ on:
]
tags:
- release*
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
pull_request:
branches: [ "dev" ]
paths-ignore:
- '**/*.md'
- 'dev.notes/**'
- 'post_build/**'
- 'z_original_repo_files/**'
paths:
- '!**/*.md'
- '!dev.notes/**'
- '!post_build/**'
- '!z_original_repo_files/**'
- '!sdk/*.txt'
- '!LICENSE'
# tools
- '!tools/generate_emu_config/**'
- '!tools/migrate_gse/**'
- '!tools/steamclient_loader/linux/**'
workflow_dispatch:
# allows manual trigger