-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add what we’re doing to top of steps and move some args around
- Loading branch information
1 parent
20c516f
commit 017e970
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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: | ||
|