Skip to content

Commit

Permalink
Fix building pickle.phar on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Jan 24, 2021
1 parent e12334f commit c52633f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ jobs:
run: composer install --prefer-source --optimize-autoloader --ansi --no-interaction --no-dev
- name: Install Box
run: composer global require 'kherge/box=~2.7' --prefer-source
- name: Build pickle.phar
run: ~/.composer/vendor/bin/box build
- name: Build pickle.phar on Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
"$(composer global config bin-dir --absolute)/box" build
- name: Build pickle.phar on Windows
if: startsWith(matrix.os, 'windows')
run: |
& "$(composer global config bin-dir --absolute)/box.bat" build
- name: Install Composer dependencies (including dev, preferring dist)
run: composer install --optimize-autoloader --ansi --no-interaction
- name: Run Behat
Expand Down

0 comments on commit c52633f

Please sign in to comment.