Run composer after cache

This commit is contained in:
Lance Pioch 2022-10-28 23:03:31 -04:00
parent e7a0a2ea7e
commit 2865ca5aec

View file

@ -21,9 +21,6 @@ jobs:
sudo systemctl start mysql
mysql --user="root" --password="root" -e "CREATE DATABASE \`panel\` character set UTF8mb4 collate utf8mb4_bin;"
- name: Install Composer Dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Get Cache Directory
id: composer-cache
run: |
@ -36,6 +33,9 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-8.1-
- name: Install Composer Dependencies
run: composer install --no-interaction --no-progress --prefer-dist --optimize-autoloader
- name: Generate Application Key
run: php artisan key:generate --force --no-interaction