Skip to content

1.3.0

1.3.0 #27

Workflow file for this run

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 }}