Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,8 @@ jobs:
- name: Check out repository
uses: actions/checkout@v2

- name: Install PHIVE
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: |
wget -O phive.phar https://phar.io/releases/phive.phar
wget -O phive.phar.asc https://phar.io/releases/phive.phar.asc
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79
gpg --verify phive.phar.asc phive.phar

- name: Install tools
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: |
php phive.phar --no-progress install \
--copy \
--trust-gpg-keys E82B2FB314E9906E,31C7E470E2138192,6DA3ACC4991FFAE5,CF1A108D0E7AE720,4AA394086372C20A
uses: ngmy/phive-install-action@master

- name: Upload tools to artifact store
uses: actions/upload-artifact@master
Expand Down
2 changes: 1 addition & 1 deletion .laradock/commands/my/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ handle() {
docker-compose exec workspace chmod +x /tmp/phive.phar
docker-compose exec workspace mv /tmp/phive.phar /usr/local/bin/phive
fi
docker-compose exec -u laradock workspace phive --home .laradock/data/phive install
docker-compose exec -u laradock workspace bash -c 'yes | phive --home .laradock/data/phive install'
}