#Python in GitHub Action

1 messages · Page 1 of 1 (latest)

dapper ibex
#

What do you mean?

#

To use the Python SDK with Github Actions you just add a step that uses a Python script.

dapper ibex
#

@trim sierra just to confirm, you're talking about the Python SDK (https://docs.dagger.io/sdk/python), right? The dagger-for-github project is for the previous dagger version (v0.2). We may update that after we release a CLI for the new version.

trim sierra
#

Yes, Im using the setup-python and it´s fine. I was just wondering if there would be any option to run the python sdk with the dagger-for-github action, but using the setup-python and then execute my script makes sense.

dapper ibex
#

Yeah, dagger-for-github is for using the dagger binary. The latest is for the previous CUE-only version. The new multi-language engine is only usable via SDKs at the moment but we will release a CLI soon (new dagger binary version). When that happens, that GHA should be updated to the new binary, but that's more for using bash to talk to the API, not for Python.