Skip to content

Commit

Permalink
GH Actions: fix download URL for box
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jrfnl authored and grogy committed Aug 31, 2022
1 parent 2350459 commit f363c40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ 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

- 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ 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

- 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
Expand Down

0 comments on commit f363c40

Please sign in to comment.