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

set-output warnings in V1 #35

Closed
tharaka-wanigasekera-ofx opened this issue Oct 26, 2022 · 2 comments
Closed

set-output warnings in V1 #35

tharaka-wanigasekera-ofx opened this issue Oct 26, 2022 · 2 comments

Comments

@tharaka-wanigasekera-ofx
Copy link

tharaka-wanigasekera-ofx commented Oct 26, 2022

We use falti/dotenv-action V1 in our workflows.

Following is the GH action step to read env props;

       - name: Read environment variables from .env file
        id: dotenv
        uses: falti/dotenv-action@v1.0.0
        with:
          log-variables: true

However, we can see set-output warnings.
image

We would appreciate it if you could investigate this. cc @falti

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

@willeccles
Copy link

This is actually a shortcoming of the GitHub Actions Toolkit. This action uses the setOutput function which uses set-output. It looks like it's been fixed in 1.10.0. See here: actions/toolkit#1218 and actions/toolkit#1178. Updating the actions core used by this action to 1.10.0 should fix this.

@tharaka-wanigasekera-ofx tharaka-wanigasekera-ofx changed the title set-output warnings persist in V1 set-output warnings in V1 Oct 27, 2022
@falti
Copy link
Owner

falti commented Oct 29, 2022

Updated core/actions - please use v1.0.1 to get rid of the warnings

@falti falti closed this as completed Oct 29, 2022
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