Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Oct 29, 2024
1 parent ac3420c commit d3388db
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CI

on:
push:
pull_request:
branches: [1.x]
pull_request_target:
release:
types: [created]

Expand All @@ -12,16 +13,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2.3.3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@2.7.0
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
coverage: none

- name: Install dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v3

- name: Download Box
run: wget https://github.com/box-project/box/releases/download/3.16.0/box.phar
Expand All @@ -35,7 +36,7 @@ jobs:
- name: Compile PHAR
run: php box.phar compile

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
name: Upload the PHAR artifact
with:
name: phpmyadmin.phar
Expand Down Expand Up @@ -63,13 +64,13 @@ jobs:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: phpmyadmin.phar
path: .

- name: Setup PHP
uses: shivammathur/setup-php@2.7.0
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
coverage: none
Expand Down Expand Up @@ -103,7 +104,7 @@ jobs:
- sca
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: phpmyadmin.phar
path: .
Expand Down

0 comments on commit d3388db

Please sign in to comment.