This commit is contained in:
Shish 2024-01-05 16:33:59 +00:00
parent 09744791cc
commit 5d0a570194
2 changed files with 3 additions and 3 deletions

View file

@ -85,13 +85,13 @@ jobs:
- name: Install PHP dependencies - name: Install PHP dependencies
run: composer install --no-progress run: composer install --no-progress
- name: Check old version works - name: Check old version works
run: php index.php get-page / | grep "https://code.shishnet.org/shimmie2/" run: php index.php get-page /
- name: Upgrade - name: Upgrade
run: | run: |
git checkout {{ github.ref }} git checkout {{ github.ref }}
composer install --no-progress composer install --no-progress
- name: Check new version works - name: Check new version works
run: php index.php get-page / | grep "https://code.shishnet.org/shimmie2/" run: php index.php get-page /
test: test:
name: PHP ${{ matrix.php }} / DB ${{ matrix.database }} name: PHP ${{ matrix.php }} / DB ${{ matrix.database }}

View file

@ -118,4 +118,4 @@ try {
} }
if (PHP_SAPI === 'cli' || PHP_SAPI == 'phpdbg') { if (PHP_SAPI === 'cli' || PHP_SAPI == 'phpdbg') {
exit($exit_code); exit($exit_code);
} }