mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Revise GHA workflows for prototyping (#367)
Changed the GHA workflows to: - Not run `build` and `release` workflows for PRs that only affect `prototyping/` - Run `prototyping` workflow when PRs affect `Analysis/**`, `Ast/**`, or the `luau-ast` source files
This commit is contained in:
parent
f0c9d84461
commit
c8d6dc2758
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -9,12 +9,14 @@ on:
|
||||
- 'papers/**'
|
||||
- 'rfcs/**'
|
||||
- '*.md'
|
||||
- 'prototyping/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- 'papers/**'
|
||||
- 'rfcs/**'
|
||||
- '*.md'
|
||||
- 'prototyping/**'
|
||||
|
||||
jobs:
|
||||
unix:
|
||||
|
10
.github/workflows/prototyping.yml
vendored
10
.github/workflows/prototyping.yml
vendored
@ -8,12 +8,18 @@ on:
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
- 'prototyping/**'
|
||||
- 'Analysis/src/JsonEncoder.cpp'
|
||||
- 'Analysis/**'
|
||||
- 'Ast/**'
|
||||
- 'CLI/Ast.cpp'
|
||||
- 'CLI/FileUtils.*'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
- 'prototyping/**'
|
||||
- 'Analysis/src/JsonEncoder.cpp'
|
||||
- 'Analysis/**'
|
||||
- 'Ast/**'
|
||||
- 'CLI/Ast.cpp'
|
||||
- 'CLI/FileUtils.*'
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -9,6 +9,7 @@ on:
|
||||
- 'papers/**'
|
||||
- 'rfcs/**'
|
||||
- '*.md'
|
||||
- 'prototyping/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user