Skip to content

Commit

Permalink
Setting default composer flags in .github/workflows/github-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rhertogh committed Apr 1, 2024
1 parent 52cb48e commit 9802138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/github-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
DEFAULT_COMPOSER_FLAGS: "--prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi"

jobs:
build-and-push-image:
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer update $DEFAULT_COMPOSER_FLAGS
run: composer install $DEFAULT_COMPOSER_FLAGS

- name: Set private and public key permissions
id: set-private-and-public-key-permissions
Expand Down

0 comments on commit 9802138

Please sign in to comment.