File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed
Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,15 @@ jobs:
5555 exit 1
5656 fi
5757 else
58- # Detect changes from git diff
58+ # Detect changes from git diff or find all recipes
5959 if [ "${{ github.event_name }}" == "push" ]; then
6060 CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD -- 'binaries/**/*.yaml' 'packages/**/*.yaml' 2>/dev/null || true)
6161 elif [ "${{ github.event_name }}" == "pull_request" ]; then
6262 CHANGED_FILES=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -- 'binaries/**/*.yaml' 'packages/**/*.yaml' 2>/dev/null || true)
63+ elif [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
64+ # No specific recipe, build all recipes
65+ echo "::notice::No recipe specified, building all recipes"
66+ CHANGED_FILES=$(find binaries packages -name '*.yaml' -type f 2>/dev/null || true)
6367 else
6468 CHANGED_FILES=""
6569 fi
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ pkg: hello
55pkg_id : test.hello.static
66pkg_type : static
77category :
8- - utility
8+ - " ConsoleOnly"
9+ - " Utility"
910description : Simple hello world static binary for testing bincache
1011homepage :
1112 - https://github.com/pkgforge/sbuilder
Original file line number Diff line number Diff line change 55pkg_id : github.com.jqlang.jq
66pkg_type : static
77category :
8- - utility
8+ - " ConsoleOnly"
9+ - " Utility"
910description : Command-line JSON processor
1011homepage :
1112 - https://jqlang.github.io/jq/
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ pkg: hello-appimage
55pkg_id : test.hello.appimage
66pkg_type : appimage
77category :
8- - utility
8+ - " ConsoleOnly"
9+ - " Utility"
910description : Simple hello world AppImage for testing pkgcache
1011homepage :
1112 - https://github.com/pkgforge/sbuilder
You can’t perform that action at this time.
0 commit comments