Update release.yml #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create Archive | |
| on: | |
| push: | |
| # Sequence of patterns matched against refs/tags | |
| tags: | |
| - '*' # Push events to matching *, i.e. v1.0, v20.15.10 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Make release archive | |
| uses: thedoctor0/zip-release@0.7.1 | |
| with: | |
| type: 'zip' | |
| filename: 'begateway-payment.zip' | |
| exclusions: '*.git* docker* LICENSE* Makefile DEVELOPMENT* composer* Readme* README* *.zip /*docker/* .distignore Dockerfile ' | |
| - name: Upload Release | |
| uses: ncipollo/release-action@v1.12.0 | |
| with: | |
| artifacts: "begateway-payment.zip" | |
| token: ${{ secrets.GITHUB_TOKEN }} |