Skip to content

v0.3.0 - 2024-04-06 #16

v0.3.0 - 2024-04-06

v0.3.0 - 2024-04-06 #16

Workflow file for this run

name: Upload Release Package
on:
release:
types: [ published ]
jobs:
tag:
name: Upload New Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
extensions: mbstring, intl
tools: composer:v2
- name: Install dependencies
run: |
composer install --no-dev --optimize-autoloader
- name: Create Artifact
run: |
mkdir plugin-build
composer archive -vvv --format=zip --file="plugin-build/wp-graphql-headless-login"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: wp-graphql-headless-login
path: plugin-build/wp-graphql-headless-login.zip
- name: Upload release asset
uses: softprops/action-gh-release@v2
with:
files: plugin-build/wp-graphql-headless-login.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}