Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
pronskiy committed Apr 20, 2024
1 parent 12c2629 commit 348fb70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:

- name: Build
run: |
curl -O "https://github.com/box-project/box/releases/download/4.6.1/box.phar"
curl -OL "https://github.com/box-project/box/releases/latest/download/box.phar"
mv box.phar box
php box compile
mkdir -p ./build
mv index.phar ./build/
cd build || exit
curl -O https://dl.static-php.dev/static-php-cli/common/php-8.3.4-micro-macos-aarch64.tar.gz -C -
curl -OL https://dl.static-php.dev/static-php-cli/common/php-8.3.4-micro-macos-aarch64.tar.gz -C -
tar -xvf php-8.3.4-micro-macos-aarch64.tar.gz
cat ./micro.sfx ./index.phar > ./phpup && chmod 0755 ./phpup

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You don't need to have PHP or anything at all on your system to run it.
Download `phpup` binary from the release page and put it into a directory on your PATH, so you can simply call `phpup` from any directory.

```bash
curl -O https://github.com/pronskiy/phpup/releases/latest/download/phpup
curl -OL https://github.com/pronskiy/phpup/releases/latest/download/phpup
chmod +x phpup
sudo mv phpup /usr/local/bin/phpup
```
Expand Down

0 comments on commit 348fb70

Please sign in to comment.