Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The set-output command is deprecated and will be disabled soon #15

Closed
matteocorti opened this issue Feb 28, 2023 · 2 comments
Closed

The set-output command is deprecated and will be disabled soon #15

matteocorti opened this issue Feb 28, 2023 · 2 comments

Comments

@matteocorti
Copy link

The action uses set-output which is deprecated.

Example:

      - name: install cpanm and Date::Parse
        uses: perl-actions/install-with-cpanm@v1
        with:
          install: Date::Parse

produces

2023-02-27T12:16:00.2463390Z ##[group]Run perl-actions/install-with-cpanm@v1
2023-02-27T12:16:00.2464360Z with:
2023-02-27T12:16:00.2464590Z   install: Date::Parse
2023-02-27T12:16:00.2464840Z   tests: false
2023-02-27T12:16:00.2465120Z   verbose: false
2023-02-27T12:16:00.2465340Z   sudo: true
2023-02-27T12:16:00.2465710Z   perl: perl
2023-02-27T12:16:00.2466000Z   path: $Config{installsitescript}/cpanm
2023-02-27T12:16:00.2466240Z ##[endgroup]
2023-02-27T12:16:00.4525150Z [command]/usr/local/bin/perl -MConfig -e print "$Config{installsitescript}/cpanm"
2023-02-27T12:16:00.6131190Z /usr/local/Cellar/perl/5.36.0/bin/cpanm::set-output name=Get cpanm from https%3A//cpanmin.us::
2023-02-27T12:16:00.7269540Z ##[warning]The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
@BrianCArnold
Copy link
Contributor

I created PR #16 to fix this, since set-output was being using incorrectly anyway.

Until it's merged, you should be able to replace perl-action/install-with-cpanm with BrianCArnold/install-with-cpanm@stable

@atoomic
Copy link
Member

atoomic commented Jan 2, 2024

fixed by #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants