From 348fb700a871cb4e77ab0b659958da33bafaaef1 Mon Sep 17 00:00:00 2001 From: Roman Pronskiy Date: Sun, 21 Apr 2024 00:49:50 +0200 Subject: [PATCH] Fix build --- .github/workflows/release.yml | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c9a9f1..96b4391 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ 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 @@ -28,7 +28,7 @@ jobs: 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 diff --git a/README.md b/README.md index 3291450..182df87 100644 --- a/README.md +++ b/README.md @@ -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 ```