From 8a5fe78e76d61ea95f832a3af173706034a76344 Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Thu, 10 Mar 2022 22:58:20 +0900 Subject: [PATCH] github actions: Properly build custom Docker image when `setup-android-sdk.sh` is modified. --- .github/workflows/packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 290cafe28..97cebf30c 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -65,7 +65,7 @@ jobs: fi # Build local Docker image if setup scripts were changed. # Useful for pull requests submitting changes for both build environment and packages. - if grep -qP '^scripts/(Dockerfile|setup-ubuntu\.sh)$' <<< "$CHANGED_FILES"; then + if grep -qP '^scripts/(Dockerfile|setup-android-sdk\.sh|setup-ubuntu\.sh)$' <<< "$CHANGED_FILES"; then echo "Detected changes for environment setup scripts. Building custom Docker image now." cd ./scripts docker build -t termux/package-builder:latest .