mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
Only install the stuff we need to run PHP, not to build it
This commit is contained in:
parent
9c05e37fbe
commit
5116e11cea
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cached PHP's dependencies
|
- name: Install cached PHP's dependencies
|
||||||
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
||||||
run: chmod +x ./bin/php7/install-dependencies.sh && ./bin/php7/install-dependencies.sh
|
run: ./tests/gh-actions/install-dependencies.sh
|
||||||
|
|
||||||
- name: Prefix PHP to PATH
|
- name: Prefix PHP to PATH
|
||||||
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
||||||
@ -105,7 +105,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cached PHP's dependencies
|
- name: Install cached PHP's dependencies
|
||||||
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
||||||
run: chmod +x ./bin/php7/install-dependencies.sh && ./bin/php7/install-dependencies.sh
|
run: ./tests/gh-actions/install-dependencies.sh
|
||||||
|
|
||||||
- name: Prefix PHP to PATH
|
- name: Prefix PHP to PATH
|
||||||
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
||||||
@ -157,7 +157,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cached PHP's dependencies
|
- name: Install cached PHP's dependencies
|
||||||
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
||||||
run: chmod +x ./bin/php7/install-dependencies.sh && ./bin/php7/install-dependencies.sh
|
run: ./tests/gh-actions/install-dependencies.sh
|
||||||
|
|
||||||
- name: Prefix PHP to PATH
|
- name: Prefix PHP to PATH
|
||||||
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
||||||
@ -209,7 +209,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Install cached PHP's dependencies
|
- name: Install cached PHP's dependencies
|
||||||
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
if: steps.php-build-cache.outputs.cache-hit == 'true'
|
||||||
run: chmod +x ./bin/php7/install-dependencies.sh && ./bin/php7/install-dependencies.sh
|
run: ./tests/gh-actions/install-dependencies.sh
|
||||||
|
|
||||||
- name: Prefix PHP to PATH
|
- name: Prefix PHP to PATH
|
||||||
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
||||||
|
3
tests/gh-actions/install-dependencies.sh
Executable file
3
tests/gh-actions/install-dependencies.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
sudo apt update && sudo apt install -y \
|
||||||
|
libzip5
|
Loading…
x
Reference in New Issue
Block a user