Skip to content

Commit

Permalink
Added extension services
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Apr 22, 2024
1 parent b28f2b0 commit 41609fd
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- develop
pull_request:
paths:
- 'workflows/build-private.yml'
- '.github/workflows/build-private.yml'
- 'docker/prod/**'
workflow_dispatch:

Expand Down Expand Up @@ -37,6 +37,21 @@ jobs:
only_args: --no-dev --no-ansi --no-interaction --prefer-dist --ignore-platform-reqs --classmap-authoritative
php_version: 8.3

- name: "Checkout services extension"
uses: actions/checkout@v4
with:
repository: solidtime-io/extension-services
path: extensions/Services
ssh-key: ${{ secrets.SSH_PRIVATE_KEY_SERVICES_EXTENSION }}

- name: "Install dependencies in services extension"
uses: php-actions/composer@v6
with:
working_dir: "extensions/Services"
command: install
only_args: --no-dev --no-ansi --no-interaction --prefer-dist --ignore-platform-reqs --classmap-authoritative
php_version: 8.3

- name: "Setup PHP with PECL extension"
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -65,6 +80,9 @@ jobs:
- name: "Activate billing extension"
run: php artisan module:enable Billing

- name: "Activate services extension"
run: php artisan module:enable Services

- name: "Login to GitHub Container Registry"
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 41609fd

Please sign in to comment.