Skip to content

Commit 7c09ca5

Browse files
Build images only when they change (#146)
* GHA: build images on change only * GHA has ended macos-12 support * allow manual builds via Actions UI --------- Co-authored-by: Alec Reynolds <[email protected]>
1 parent 580b973 commit 7c09ca5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: .github/workflows/build-php-images.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
name: Build PHP Images
22

33
on:
4-
# Uncomment below for testing purposes
54
pull_request:
5+
paths:
6+
- 'images/**'
7+
- '.github/workflows/build-php-images.yml'
68
push:
79
branches:
810
- main
11+
paths:
12+
- 'images/**'
13+
- '.github/workflows/build-php-images.yml'
14+
workflow_dispatch:
915

1016
jobs:
1117
buildx:

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
22

3+
* Updated GitHub Actions to build images only on changes to images or workflows.
4+
35
## v1.6.1 - [November 4, 2024](https://github.com/lando/php/releases/tag/v1.6.1)
46

57
* Updated to [@lando/vitepress-theme-default-plus@v1.1.0-beta.18](https://github.com/lando/vitepress-theme-default-plus/releases/tag/v1.1.0-beta.18).

0 commit comments

Comments
 (0)