Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
Signed-off-by: xplshn <[email protected]>
  • Loading branch information
xplshn committed Oct 23, 2024
2 parents 1d9868f + 2862ac1 commit d73a3e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
# Iterate over build scripts in recipes/*
for dir in "${{ github.workspace }}/recipes/"*; do
if [ -d "$dir" ]; then
for script in "$dir"/*.*sh; do # Target files ending in .sh
for script in "$dir"/*.*sh; do
# Check if the script exists before making it executable
if [ -e "$script" ]; then
echo "Making $script executable..."
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/genParallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ on:

jobs:
build:
name: Build and Release Packages
name: Build and Release AppBundles (Parallel)
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -66,14 +68,13 @@ jobs:
if [ -d "${{ github.workspace }}/recipes" ]; then
echo "Listing contents of ./recipes:"
ls -l "${{ github.workspace }}/recipes/"
# Iterate over build scripts in recipes/*
find "${{ github.workspace }}/recipes" -type f -name "*.sh" -print0 | \
xargs -0 -n 1 -P "$(nproc)" -I {} sh -c '
chmod +x "{}"
echo "Running {}..."
"${devEnv}" "{}"
'
ls -1 "{}"
echo "Running {}..."
"${devEnv}" "{}"
'
else
echo "No recipes directory found, skipping."
fi
Expand Down

0 comments on commit d73a3e5

Please sign in to comment.