From 41cc8a9a0d88d2cbc17eb6b07cd8241ee9bedcd0 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Tue, 5 Apr 2022 14:27:20 +0200 Subject: [PATCH] GH Actions: fix download URL for box Looks like the box project has moved organisations, so let's update the URL used to download the PHAR. As GitHub will automatically redirect moved URLs, I'm only pulling this to the `develop` branch. --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11079fe..70656e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: # Note: do NOT turn on the requirement checker in the box config as it is no longer # compatible with PHP < 7.2. - name: Install Box - run: wget https://github.com/humbug/box/releases/latest/download/box.phar -O box.phar && chmod 0755 box.phar && pwd + run: wget https://github.com/box-project/box/releases/latest/download/box.phar -O box.phar && chmod 0755 box.phar && pwd - name: Validate configuration run: php box.phar validate -i box.json @@ -51,7 +51,7 @@ jobs: - name: Building binary... run: php box.phar compile -v --config=box.json - - name: Show info about the build phar with humbug/box + - name: Show info about the build phar with box-project/box run: php box.phar info -l parallel-lint.phar - uses: actions/upload-artifact@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e16116..75f4252 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -66,7 +66,7 @@ jobs: # Note: do NOT turn on the requirement checker in the box config as it is no longer # compatible with PHP < 7.2. - name: Install Box - run: wget https://github.com/humbug/box/releases/latest/download/box.phar -O box.phar && chmod 0755 box.phar && pwd + run: wget https://github.com/box-project/box/releases/latest/download/box.phar -O box.phar && chmod 0755 box.phar && pwd - name: Validate configuration run: php box.phar validate -i box.json @@ -74,7 +74,7 @@ jobs: - name: Building binary... run: php box.phar compile -v --config=box.json - - name: Show info about the build phar with humbug/box + - name: Show info about the build phar with box-project/box run: php box.phar info -l parallel-lint.phar - uses: actions/upload-artifact@v3