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 454ffb0 commit ed320e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# Set output directory
export OUT_DIR="$HOME/out"
mkdir -p "$OUT_DIR"
cd ${{ github.workspace }}
DBIN_PGRS="dwarfs-tools bwrap-patched"
export GOBIN="$HOME/.local/bin"
Expand All @@ -49,14 +49,14 @@ jobs:
ln -sfT "$GOBIN/bwrap-patched" "$GOBIN/bwrap"
}
cd ~/out
cd "$OUT_DIR"
# Check if the recipes directory exists
if [ -d "${{ github.workspace }}/recipes" ]; then
echo "Listing contents of ./recipes:"
ls -l ${{ github.workspace }}/recipes/
ls -l "${{ github.workspace }}/recipes/"
# Iterate over build scripts in recipes/*
for dir in ${{ github.workspace }}/recipes/*; do
for dir in "${{ github.workspace }}/recipes/"*; do
if [ -d "$dir" ]; then
for script in "$dir"/*.*sh; do # Target files ending in .sh
# Check if the script exists before making it executable
Expand Down Expand Up @@ -86,5 +86,5 @@ jobs:
prerelease: false
draft: false
files: |
$HOME/out/*
$OUT_DIR/*
repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ed320e2

Please sign in to comment.