simplify build

This commit is contained in:
2025-02-14 03:46:26 -06:00
parent 6fe58a2445
commit 22eb47d8bc

View File

@ -18,23 +18,13 @@ jobs:
sudo apt update
sudo apt install -y php php-symfony composer php-cli php-gd php-mysql golang
- name: Prepare for build
- name: Build
run: |
cd mailpoet || { echo "Directory 'mailpoet' not found"; exit 1; }
cp .env.sample .env
- name: Update Composer dependencies
run: |
composer update
- name: Install pnpm globally
run: |
npm install -g pnpm
- name: Run the build script
run: |
sh build.sh
- name: Move built zip file
run: |
mkdir -p ../output