Skip to content

Commit

Permalink
simplify cache handling in github
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrixx committed Feb 27, 2024
1 parent 6ebf910 commit 893bbc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ jobs:
if: matrix.castor.method == 'phar' || matrix.castor.method == 'static'

- name: Compile Custom Built PHP along Castor phar for Linux
# Should be the same command as the one in tools/static/castor.php
run: bin/castor compile tools/phar/build/castor.linux-amd64.phar --php-extensions=mbstring,phar,posix,tokenizer,pcntl --binary-path=${{ github.workspace }}/${{ matrix.castor.bin }}
run: |
set -e
bin/castor castor:static:linux
mv castor.linux-amd64 ${{ github.workspace }}/${{ matrix.castor.bin }}
if: matrix.castor.method == 'static'

# We use box in a test, so we need to make it available everywhere
Expand Down

0 comments on commit 893bbc0

Please sign in to comment.