Skip to content

Commit a39eb01

Browse files
Removed an extra step when compiling the application
1 parent 1474582 commit a39eb01

File tree

1 file changed

+4
-35
lines changed

1 file changed

+4
-35
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -41,51 +41,20 @@ jobs:
4141
- name: Create the PHAR file
4242
run: php ./notifications app:build notifications --build-version=${{ steps.tag.outputs.tag }} --ansi
4343

44+
- name: Show version
45+
run: php builds/notifications --version
46+
4447
- name: Upload artifact
4548
uses: actions/upload-artifact@v4
4649
with:
4750
name: notifications
4851
path: builds/notifications
4952
retention-days: 30
5053

51-
checks:
52-
runs-on: ubuntu-latest
53-
54-
needs: build
55-
56-
strategy:
57-
fail-fast: true
58-
matrix:
59-
php: [ "8.2", "8.3" ]
60-
61-
name: PHP ${{ matrix.php }}
62-
63-
steps:
64-
- name: Setup PHP
65-
uses: shivammathur/setup-php@v2
66-
with:
67-
php-version: ${{ matrix.php }}
68-
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, json, dom, curl, libxml, fileinfo, tokenizer, xml
69-
coverage: xdebug
70-
71-
- name: Remove old file
72-
run: rm -f builds/notifications
73-
74-
- uses: actions/download-artifact@v4
75-
with:
76-
name: notifications
77-
path: builds
78-
79-
- name: Show version
80-
run: php builds/notifications --version
81-
82-
- name: Run tests
83-
run: composer test
84-
8554
push:
8655
runs-on: ubuntu-latest
8756

88-
needs: checks
57+
needs: build
8958

9059
steps:
9160
- name: Checkout the code

0 commit comments

Comments
 (0)