Skip to content

fix: update the main plugin file name in the PHPStan config and packa… #14

fix: update the main plugin file name in the PHPStan config and packa…

fix: update the main plugin file name in the PHPStan config and packa… #14

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🛠️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci --production
- run: npm run build
- name: 🐘 Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: 📥 Install PHP dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--no-dev --ignore-platform-reqs --classmap-authoritative"
- name: 📦 Generate zip
run: npm run plugin-zip && cp .zip alt-text-generator-gpt-vision.zip
- name: 📢 Release
uses: softprops/action-gh-release@v1
with:
files: ${{ github.event.repository.name }}.zip
generate_release_notes: true