sfdx-actions / setup-sfdx

Salesforce SFDX CLI GitHub Action
MIT License
81 stars 28 forks source link

Specify an Alias (optional input parameter) #16

Open scolladon opened 1 year ago

scolladon commented 1 year ago

As a consumer of the github action I want to be able to specify the alias to be used for authenticating the org So that I can use the devhub to create package version (for example)

I also want this devhub set as global devhub

$ sfdx config:set defaultdevhubusername=<alias> --global

so that I may not have to use it outside scratch org creation

wimvelzeboer commented 9 months ago

The org that is authenticated gets an alias SFDX-ENV, can't you re-use that one?

sfdx config:set defaultdevhubusername=SFDX-ENV --global