@@ -62,17 +62,17 @@ runs:
62
62
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
63
63
restore-keys : |
64
64
${{ runner.os }}-node-
65
- - name : Install NPM wporg-replace-helper package
66
- run : npm install https://github.com/sc0ttkclark/wporg-replace-helper
65
+ - name : Install NPM dependencies
66
+ run : npm install
67
67
- name : Update plugin version
68
68
if : " ${{ inputs.plugin_version != '' }}"
69
- run : npm run update-plugin-version --plugin_version="${{ inputs.plugin_version }}" --plugin_version_constant_name="${{ inputs.plugin_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
69
+ run : npm explore wporg-replace-helper -- npm run update-plugin-version --plugin_version="${{ inputs.plugin_version }}" --plugin_version_constant_name="${{ inputs.plugin_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
70
70
- name : Update tested WP version
71
71
if : " ${{ inputs.tested_wp_version != '' }}"
72
- run : npm run update-tested-wp-version --tested_wp_version="${{ inputs.tested_wp_version }}" --tested_wp_version_constant_name="${{ inputs.tested_wp_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
72
+ run : npm explore wporg-replace-helper -- npm run update-tested-wp-version --tested_wp_version="${{ inputs.tested_wp_version }}" --tested_wp_version_constant_name="${{ inputs.tested_wp_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
73
73
- name : Update minimum WP version
74
74
if : " ${{ inputs.minimum_wp_version != '' }}"
75
- run : npm run update-minimum-wp-version --minimum_wp_version="${{ inputs.minimum_wp_version }}" --minimum_wp_version_constant_name="${{ inputs.minimum_wp_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
75
+ run : npm explore wporg-replace-helper -- npm run update-minimum-wp-version --minimum_wp_version="${{ inputs.minimum_wp_version }}" --minimum_wp_version_constant_name="${{ inputs.minimum_wp_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
76
76
- name : Update minimum PHP version
77
77
if : " ${{ inputs.minimum_php_version != '' }}"
78
- run : npm run update-minimum-php-version --minimum_php_version="${{ inputs.minimum_php_version }}" --minimum_php_version_constant_name="${{ inputs.minimum_php_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
78
+ run : npm explore wporg-replace-helper -- npm run update-minimum-php-version --minimum_php_version="${{ inputs.minimum_php_version }}" --minimum_php_version_constant_name="${{ inputs.minimum_php_version_constant_name }}" --plugin_file="${{ inputs.plugin_file }}" --plugin_path="${{ inputs.plugin_path }}"
0 commit comments