Skip to content

Merge pull request #38 from rtCamp/fix/carousel-loop-spacing #15

Merge pull request #38 from rtCamp/fix/carousel-loop-spacing

Merge pull request #38 from rtCamp/fix/carousel-loop-spacing #15

Workflow file for this run

name: Release Plugin
on:
push:
branches:
- main
jobs:
build-and-release:
name: Build and Release
runs-on: ubuntu-latest
permissions:
contents: write # Required to create releases and tags
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Get Version
id: get_version
run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
- name: Build Plugin ZIP
run: make zip
- name: Create Release and Upload Asset

Check failure on line 37 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 37
uses: softprops/action-gh-release@v1
with:
tag_name: v${{ steps.get_version.outputs.VERSION }}
name: v${{ steps.get_version.outputs.VERSION }}
generate_release_notes: true
files: core-carousel.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}