Skip to content

Commit

Permalink
Installing composer dependencies instead of gettext in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Nov 8, 2023
1 parent 4322f6d commit afbabdb
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,19 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v4

- name: "Install gettext"
- name: "Cache Composer dependencies"
uses: actions/cache@v3
with:
path: "~/.composer/cache"
key: composer-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('composer.json') }}
restore-keys: |
composer-dependencies-${{ runner.os }}-${{ env.cache-version }}-${{ hashFiles('composer.json') }}
composer-dependencies-${{ runner.os }}-${{ env.cache-version }}-
composer-dependencies-${{ runner.os }}-
- name: "Install Composer dependencies"
run: |
sudo apt-get install gettext
composer install -n --prefer-dist
- name: "Cache NPM dependencies"
uses: actions/cache@v3
Expand Down Expand Up @@ -47,10 +57,6 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v4

- name: "Install gettext"
run: |
sudo apt-get install gettext
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit afbabdb

Please sign in to comment.