From 73a360f4edcc584bf1e6cab61cee22c44c7b5d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Fernanda=20Magallanes?= <35668326+MaferMazu@users.noreply.github.com> Date: Fri, 7 Jun 2024 12:59:43 +0100 Subject: [PATCH] chore: update the zip GA to manual triggers and exclude unnecessary files (#76) --- .github/workflows/upload-release-zip.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/upload-release-zip.yml b/.github/workflows/upload-release-zip.yml index f353378..c145a62 100644 --- a/.github/workflows/upload-release-zip.yml +++ b/.github/workflows/upload-release-zip.yml @@ -3,27 +3,28 @@ name: Upload zip to latest release on: release: types: [published] + workflow_dispatch: jobs: upload_zip: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: token: ${{ secrets.WC_PAT }} - name: Install Composer dependencies - uses: "ramsey/composer-install@v2" + uses: ramsey/composer-install@v3 with: composer-options: "--no-dev" - name: Archive Release - uses: thedoctor0/zip-release@0.7.1 + uses: thedoctor0/zip-release@0.7.6 with: type: 'zip' filename: 'openedx-commerce.zip' - exclusions: '*.git*' + exclusions: '*.git* .* /test/* /requirements/* /docs/* composer.* *.yaml *.xml Makefile' - name: Upload zip to latest release uses: xresloader/upload-to-github-release@v1