Closed
Description
When using this action with a .perl-version
file in the repo, I will probably do something like this:
- name: Extract perl version
run: echo "PERL_VERSION=$(cat .perl-version)" >> $GITHUB_ENV
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ env.PERL_VERSION }}
It will be convenient if perl-version-file
input was supported, something like:
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version-file: '.perl-version'
What do you think?
Some of the other actions support this.
Metadata
Metadata
Assignees
Labels
No labels