From 1fc91128a8b0ae0fa7e47843eef9090df07ee5a6 Mon Sep 17 00:00:00 2001 From: yuantuo666 Date: Fri, 24 Nov 2023 18:19:06 +0800 Subject: [PATCH] update: workflow --- .github/workflows/docker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 52fd30e5..04dd483b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -40,6 +40,9 @@ jobs: - name: Run Docker image run: docker run -itd --name baiduwp-php ${{ env.IMAGE_NAME }} + - name: Install zip + run: docker exec baiduwp-php apt-get update && docker exec baiduwp-php apt-get install -y zip + - name: Pack source code run: docker exec baiduwp-php zip -r /tmp/baiduwp-php.zip /app