diff --git a/.github/workflows/build-everything.yml b/.github/workflows/build-everything.yml index 9da6c10..4561447 100644 --- a/.github/workflows/build-everything.yml +++ b/.github/workflows/build-everything.yml @@ -8,8 +8,10 @@ name: Build everything # TODO: add another job that only builds sourcepawn files when only those are touched on: push: + branches: [ 'release' ] paths: ['**.rs', '**.h', '**.hpp', '**.c', '**.cpp', '**.sp', '**.inc', '**.toml', '**.lock', '**.yml'] pull_request: + branches: [ 'release' ] paths: ['**.rs', '**.h', '**.hpp', '**.c', '**.cpp', '**.sp', '**.inc', '**.toml', '**.lock', '**.yml'] workflow_dispatch: @@ -19,6 +21,7 @@ env: jobs: build_everything: runs-on: windows-latest + timeout-minutes: 10 strategy: matrix: targetos: ["linux", "windows"]