From eeddd33348733f2018c42390ccb2765d627586a0 Mon Sep 17 00:00:00 2001 From: s4ddly <110701663+s4ddly@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:35:51 +0100 Subject: [PATCH] Add vendor to zip on release (#63) --- .github/workflows/release.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f5f5bf5..4193663 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,8 +15,18 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 + with: + php-version: 5.6 + extensions: none, curl, dom, mbstring, simplexml, tokenizer, xml, xmlwriter, json + coverage: none + + - run: composer install --no-dev + - run: git archive --output=tpay-php.zip HEAD + - run: zip -ur tpay-php.zip vendor/ + - uses: softprops/action-gh-release@v1 with: files: tpay-php.zip