ci: improve caching for GitHub Actions
Previously the cache would be stale for every new branch. With this change, PRs use the cache from the base branch and therefore don't need to rebuild LLVM from scratch.
Этот коммит содержится в:
родитель
cf640290a3
коммит
7e68980c39
1 изменённых файлов: 6 добавлений и 1 удалений
7
.github/workflows/windows.yml
предоставленный
7
.github/workflows/windows.yml
предоставленный
|
@ -1,6 +1,11 @@
|
||||||
name: Windows
|
name: Windows
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
- release
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows:
|
build-windows:
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче