Release 1.3.1 #28
Workflow file for this run
This file contains 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: | |
release: | |
types: | |
- created | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Cache Composer dependencies | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- uses: php-actions/composer@v6 | |
- name: Archive Release | |
run: | | |
mkdir ../monei | |
cp -r . ../monei/ | |
cd .. | |
zip -r monei.zip monei -x '*.git*' -x '/build/*' | |
- name: Upload Release | |
uses: ncipollo/[email protected] | |
with: | |
allowUpdates: true | |
omitBodyDuringUpdate: true | |
artifacts: '../monei.zip' | |
artifactContentType: 'application/zip' | |
token: ${{ secrets.GITHUB_TOKEN }} |