Skip to content

Commit

Permalink
Update gen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xplshn authored Oct 22, 2024
1 parent 1db8593 commit 3327eee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
export OUT_DIR="$HOME/out"
mkdir -p "$OUT_DIR"
# Ensure working directory is set to the repository root
cd ${{ github.workspace }}
DBIN_PGRS="dwarfs-tools bwrap-patched"
Expand All @@ -50,7 +49,7 @@ jobs:
ln -sfT "$GOBIN/bwrap-patched" "$GOBIN/bwrap"
}
ls
cd ${{ github.workspace }}
# Check if the recipes directory exists
if [ -d "./recipes" ]; then
echo "Listing contents of ./recipes:"
Expand All @@ -65,7 +64,9 @@ jobs:
echo "Making $script executable..."
chmod +x "$script"
echo "Running $script..."
"$script"
cd ~/out && \
"$script" ; \
cd ${{ github.workspace }}
else
echo "$script does not exist, skipping."
fi
Expand Down

0 comments on commit 3327eee

Please sign in to comment.