File tree Expand file tree Collapse file tree 1 file changed +7
-21
lines changed
Expand file tree Collapse file tree 1 file changed +7
-21
lines changed Original file line number Diff line number Diff line change @@ -205,27 +205,13 @@ runs:
205205 echo "::endgroup::"
206206 fi
207207 # Target: target-setup-perl
208- - name : target-setup-perl (actions-setup-perl)
209- shell : bash
210- run : |
211- if ${{ toJSON(
212- ( fromJSON(inputs.target-all)
213- || fromJSON(inputs.target-setup-perl)
214- )
215- ) }}; then
216- echo "::group::setup-perl (actions-setup-perl)"
217- git clone \
218- https://github.com/shogo82148/actions-setup-perl.git \
219- -b v1 \
220- .github/actions/actions-setup-perl;
221- node .github/actions/actions-setup-perl/dist/setup/index.js
222- echo "::endgroup::"
223- fi
224- env :
225- INPUT_DISTRIBUTION : ${{ inputs.perl-distribution }}
226- INPUT_PERL-VERSION : ${{ inputs.perl-version }}
227- INPUT_MULTI-THREAD : ${{ inputs.perl-threaded }}
228- INPUT_ENABLE-MODULES-CACHE : false
208+ - uses : shogo82148/actions-setup-perl@v1
209+ if : inputs.target-all == 'true' || inputs.target-setup-perl == 'true'
210+ with :
211+ distribution : ${{ inputs.perl-distribution }}
212+ perl-version : ${{ inputs.perl-version }}
213+ multi-thread : ${{ inputs.perl-threaded }}
214+ enable-modules-cache : false
229215 - name : target-setup-perl (perl -V)
230216 shell : bash
231217 run : |
You can’t perform that action at this time.
0 commit comments