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

Change force:auth to auth #6

Merged
merged 1 commit into from
Jan 14, 2021
Merged

Conversation

emregunel
Copy link
Contributor

Since sfdx v50.0, force:auth commands are moved to their own namespace.
There are some issues to use force:auth, and they are appearently affecting this action.

With current set-up, the action exits with error code:

/home/runner/work/_actions/sfdx-actions/setup-sfdx/v1/index.js:32
    if(error) throw(stderr)
              ^
 ›   Warning: force:auth:sfdxurl:store is not a sfdx command.
Did you mean auth:sfdxurl:store? [y/n]:  ›   Error: Run sfdx help force for a list of available commands.

Auth namespace should be used from now on instead of force:auth.

Copy link
Contributor

@daveespo daveespo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new CLI version just broke our CI/CD. Thanks for the speedy fix!

@fechanique fechanique merged commit 995ab39 into sfdx-actions:master Jan 14, 2021
@fechanique
Copy link
Contributor

merged, thank you!

@daveespo
Copy link
Contributor

@fechanique --- any chance you'd consider tagging the HEAD of master with v1 so we don't have to go through and revise all of our GH Action workflows to pull from HEAD?

If you'd prefer to keep versioning intact, can you tag HEAD with v2 so we can pin to a tag in our workflow?

@fechanique
Copy link
Contributor

@daveespo that's right, I have updated the v1 tag with the latest code! than you!

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

Successfully merging this pull request may close these issues.

3 participants