simplify build
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -18,23 +18,13 @@ jobs:
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y php php-symfony composer php-cli php-gd php-mysql golang
|
sudo apt install -y php php-symfony composer php-cli php-gd php-mysql golang
|
||||||
|
|
||||||
- name: Prepare for build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd mailpoet || { echo "Directory 'mailpoet' not found"; exit 1; }
|
cd mailpoet || { echo "Directory 'mailpoet' not found"; exit 1; }
|
||||||
cp .env.sample .env
|
cp .env.sample .env
|
||||||
|
|
||||||
- name: Update Composer dependencies
|
|
||||||
run: |
|
|
||||||
composer update
|
composer update
|
||||||
|
|
||||||
- name: Install pnpm globally
|
|
||||||
run: |
|
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
|
|
||||||
- name: Run the build script
|
|
||||||
run: |
|
|
||||||
sh build.sh
|
sh build.sh
|
||||||
|
|
||||||
- name: Move built zip file
|
- name: Move built zip file
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ../output
|
mkdir -p ../output
|
||||||
|
Reference in New Issue
Block a user