Skip to content

Commit

Permalink
Add what we’re doing to top of steps and move some args around
Browse files Browse the repository at this point in the history
  • Loading branch information
sclark3-godaddy committed Dec 6, 2023
1 parent 20c516f commit 017e970
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: WordPress.org Text Replace
description: 'A helpful GitHub action that will handle replacing version numbers across plugin files.'

author: Scott Kingsley Clark <[email protected]>
branding:
icon: 'save'
color: green

inputs:
plugin_version:
Expand Down Expand Up @@ -35,17 +37,21 @@ inputs:
description: 'Plugin path'
required: true

outputs:
changes_made:
description: Value is "true", if the repository changes were made from the replacement. Value is "false", if no changes were made.

branding:
icon: 'save'
color: green

runs:
using: "composite"
steps:
- name: What are we doing?
run: |
echo plugin_version: ${{ inputs.plugin_version }}
echo plugin_version_constant_name: ${{ inputs.plugin_version_constant_name }}
echo tested_wp_version: ${{ inputs.tested_wp_version }}
echo tested_wp_version_constant_name: ${{ inputs.tested_wp_version_constant_name }}
echo minimum_wp_version: ${{ inputs.minimum_wp_version }}
echo minimum_wp_version_constant_name: ${{ inputs.minimum_wp_version_constant_name }}
echo minimum_php_version: ${{ inputs.minimum_php_version }}
echo minimum_php_version_constant_name: ${{ inputs.minimum_php_version_constant_name }}
echo plugin_file: ${{ inputs.plugin_file }}
echo plugin_path: ${{ inputs.plugin_path }}
- name: Set up Node.js
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 017e970

Please sign in to comment.