Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: composer:v2
- name: Install composer dependencies
run: composer install --no-dev
- name: Create plugin directory
run: mkdir simpay
- name: Move into a folder
run: cp -r * simpay
- name: Create zip package
run: zip -r ${{ github.ref_name }}.zip simpay
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ${{ github.ref_name }}.zip