mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
github actions build: stop clobbering $PATH in install.sh; add composer validate --no-check-lock before install.sh
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -28,6 +28,9 @@ jobs:
|
||||
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
|
||||
restore-keys: ${{ runner.os }}-composer-
|
||||
|
||||
- name: check composer.json
|
||||
run: composer validate --no-check-lock
|
||||
|
||||
- name: run install.sh
|
||||
run: /bin/bash install.sh
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ set -eu
|
||||
# 2. Runs 'php composer install' which should install required runtime libraries for Postfixadmin
|
||||
# 3. Runs 'mkdir templates_c && chmod 777 templates_c'
|
||||
|
||||
PATH=/bin:/usr/bin:/usr/local/bin
|
||||
PATH=${PATH:+$PATH:}/bin:/usr/bin:/usr/local/bin
|
||||
export PATH
|
||||
|
||||
COMPOSER_URL=https://getcomposer.org/download/latest-stable/composer.phar
|
||||
|
||||
Reference in new issue
Block a user