mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
feat(Actions): only trigger on changes that matter (#2752)
* feat(Actions): only trigger on changes that matter * feat(Actions): include ci.yml to path trigger * feat(Actions): cancel action if a new commit comes in * feat(Actions): cancel last nightly if a new request comes in
This commit is contained in:
parent
02d5af76fc
commit
affa94b98c
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -1,6 +1,16 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- src/**
|
||||
- cmake/**
|
||||
- CMakeLists.txt
|
||||
- .github/workflows/ci.yml
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
@ -6,6 +6,10 @@ on:
|
||||
- cron: '0 14 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: nightly
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_nightly:
|
||||
runs-on: [self-hosted, Windows]
|
||||
|
Loading…
Reference in New Issue
Block a user