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

pkgx.yaml support #240

Open
digitalkaoz opened this issue Mar 21, 2024 · 4 comments
Open

pkgx.yaml support #240

digitalkaoz opened this issue Mar 21, 2024 · 4 comments

Comments

@digitalkaoz
Copy link

is https://docs.pkgx.sh/using-dev/dev#pkgx.yaml supported? afaik it doesnt support shell integration. is it possible to install from a pkgx.yaml and have those binaries usable in your github bin path?

@jhheider
Copy link
Contributor

Within a github action? Or some other way? pkgx.yaml files work fine; you need pkgx installed, and you need to call the dev function after pkgx is integrated in your shell.

If you mean using the github actions, you'd want to use the with.+: yaml input attribute to the setup action, or the dev action.

Both are shown in our documentation here: https://docs.pkgx.sh/run-anywhere/ci-cd

@mxcl
Copy link
Member

mxcl commented Mar 21, 2024

Yes use the dev action

@digitalkaoz
Copy link
Author

so having a pkgx.yaml in my repo

dependencies:
  terraform

this action:

- uses: actions/checkout@v3
- uses: pkgxdev/dev@v1

will pick it up and i can use

steps:
  - run: terraform --version

?

@digitalkaoz
Copy link
Author

is it possible to have different pkgx.yaml ?

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