From b9ad55721f0b38222f69f470eb02c571818adf28 Mon Sep 17 00:00:00 2001 From: Ali Colville Date: Thu, 12 Sep 2024 17:31:21 +0100 Subject: [PATCH] Create build-zip.yml --- .github/workflows/build-zip.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/build-zip.yml diff --git a/.github/workflows/build-zip.yml b/.github/workflows/build-zip.yml new file mode 100644 index 00000000..2c780ff1 --- /dev/null +++ b/.github/workflows/build-zip.yml @@ -0,0 +1,22 @@ +name: Build release zip + +on: [push] + +jobs: + build: + name: Build release zip + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Build plugin # Remove or modify this step as needed + run: | + composer install --no-dev + npm install + npm run build + + - name: Generate zip + uses: 10up/action-wordpress-plugin-build-zip@stable + env: + SLUG: weight-loss-tracker