Skip to content

0.3.5 🌈 Finsteraarhorn #14

0.3.5 🌈 Finsteraarhorn

0.3.5 🌈 Finsteraarhorn #14

Workflow file for this run

name: Create release
on:
release:
types: [ released ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
composer install --no-dev --optimize-autoloader --prefer-dist
- name: Zip Folder
run: zip -r ${{ github.event.repository.name }}.zip . -x ".git/*" ".github/*" "phpcs.xml" ".gitignore" "phpstan-baseline.neon" "phpstan.neon.dist" ".php-cs-fixeer.cache" "renovate.json" "psalm.xml" "phpunit.xml" "..php-cs-fixer.dist.php"
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ github.event.repository.name }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}