-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (44 loc) · 1.42 KB
/
meta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Meta
on:
workflow_dispatch:
pull_request:
jobs:
app-zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/check-manifest
- uses: shopware/github-actions/build-zip@main
with:
extensionName: SwagBraintreeApp
manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-php
- uses: ./.github/actions/check-manifest
- name: Generate manifest.xml
run: composer setup:manifest -- -f --env=prod
- uses: ./.github/actions/check-manifest
- name: Check manifest.xml
run: |
git update-index --refresh || printf ''
git diff-index "${{ github.sha }}" --quiet -- manifest.xml || (echo "Please run 'composer setup:manifest' to sync the manifest.xml" && exit 1)
doctrine:
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb:10.5
env:
MARIADB_ROOT_PASSWORD: swagbraintree
MYSQL_DATABASE: swagbraintree
ports: ['3306:3306']
env:
DATABASE_URL: mysql://root:[email protected]:3306/swagbraintree
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-php
- name: Migrate database
run: bin/console doctrine:migrations:migrate --no-interaction
- name: Validate doctrine schema
run: bin/console doctrine:schema:validate --verbose