OpenToonz - An open-source full-featured 2D animation creation software
C
ci: prevent unnecessary cross-platform builds pt2
Anderson Prado97c75130e73a
diff --git a/.github/workflows/workflow_linux.yml b/.github/workflows/workflow_linux.ymlindex e45369a22..8929ffb93 100644--- a/.github/workflows/workflow_linux.yml+++ b/.github/workflows/workflow_linux.yml@@ -3,14 +3,20 @@ name: Linux Buildon:push:paths:- - '**/*' # Include all files in the repository- - '!**/.github/workflows/workflow_windows.yml' # Exclude Windows workflow file- - '!**/.github/workflows/workflow_macos.yml' # Exclude macOS workflow file+ - '**/*' # Include all files in the repository+ - '!appveyor.yml' # Ignore changes in AppVeyor+ - '!README.md' # Exclude README+ - '!doc/**' # Exclude documentation+ - '!**/.github/**' # Exclude everything in .github folder+ - '.github/workflows/workflow_linux.yml' # Include Linux workflow filepull_request:paths:- - '**/*' # Include all files in the repository- - '!**/.github/workflows/workflow_windows.yml' # Exclude Windows workflow file- - '!**/.github/workflows/workflow_macos.yml' # Exclude macOS workflow file+ - '**/*'+ - '!appveyor.yml'+ - '!README.md'+ - '!doc/**'+ - '!**/.github/**'+ - '.github/workflows/workflow_linux.yml'jobs:Ubuntu:@@ -105,4 +111,4 @@ jobs:- uses: actions/upload-artifact@v4with:name: Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}- path: toonz/build/Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}.tar.gz\ No newline at end of file+ path: toonz/build/Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}.tar.gzdiff --git a/.github/workflows/workflow_macos.yml b/.github/workflows/workflow_macos.ymlindex f3c2e3295..124f9fddc 100644--- a/.github/workflows/workflow_macos.yml+++ b/.github/workflows/workflow_macos.yml@@ -3,14 +3,20 @@ name: MacOS Buildon:push:paths:- - '**/*' # Include all files in the repository- - '!**/.github/workflows/workflow_linux.yml' # Exclude Linux workflow file- - '!**/.github/workflows/workflow_windows.yml' # Exclude Windows workflow file+ - '**/*' # Include all files in the repository+ - '!appveyor.yml' # Ignore changes in AppVeyor+ - '!README.md' # Exclude README+ - '!doc/**' # Exclude documentation+ - '!**/.github/**' # Exclude everything in .github folder+ - '.github/workflows/workflow_macos.yml' # Include MacOs workflow filepull_request:paths:- - '**/*' # This also includes all files in the repository for pull requests- - '!**/.github/workflows/workflow_linux.yml' # Exclude Linux workflow file- - '!**/.github/workflows/workflow_windows.yml' # Exclude Windows workflow file+ - '**/*'+ - '!appveyor.yml'+ - '!README.md'+ - '!doc/**'+ - '!**/.github/**'+ - '.github/workflows/workflow_macos.yml'jobs:macOS:diff --git a/.github/workflows/workflow_windows.yml b/.github/workflows/workflow_windows.ymlindex a4faac1cb..a6f1af84c 100644--- a/.github/workflows/workflow_windows.yml+++ b/.github/workflows/workflow_windows.yml@@ -5,14 +5,20 @@ on:branches:- master # Specify branches where the workflow should runpaths:- - '**/*' # Include all files in the repository- - '!**/.github/workflows/workflow_linux.yml' # Exclude Linux workflow file- - '!**/.github/workflows/workflow_macos.yml' # Exclude macOS workflow file- pull_request: # Here no specific branches are listed to allow all pull requests to generate a workflow run+ - '**/*' # Include all files in the repository+ - '!appveyor.yml' # Ignore changes in AppVeyor+ - '!README.md' # Exclude README+ - '!doc/**' # Exclude documentation+ - '!**/.github/**' # Exclude everything in .github folder+ - '.github/workflows/workflow_windows.yml' # Include Windows workflow file+ pull_request:paths:- - '**/*' # Include all files in the repository- - '!**/.github/workflows/workflow_linux.yml' # Exclude Linux workflow file- - '!**/.github/workflows/workflow_macos.yml' # Exclude macOS workflow file+ - '**/*'+ - '!appveyor.yml'+ - '!README.md'+ - '!doc/**'+ - '!**/.github/**'+ - '.github/workflows/workflow_windows.yml'jobs:Windows:@@ -125,4 +131,4 @@ jobs:uses: actions/upload-artifact@v4with:name: Opentoonz-${{ runner.os }}-${{ github.sha }}- path: artifact\ No newline at end of file+ path: artifact