Skip to content

Commit

Permalink
ci: update the zip GA to manual triggers and exclude unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
MaferMazu committed Jun 6, 2024
1 parent 14c0951 commit 8e8f0ee
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/upload-release-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].1
uses: thedoctor0/[email protected].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
Expand Down

0 comments on commit 8e8f0ee

Please sign in to comment.