
This action sets up the go-c8y-cli binary (c8y) in $PATH for use in GitHub Actions workflows.
env:
C8Y_HOST: '${{ secrets.C8Y_HOST }}'
C8Y_USER: '${{ secrets.C8Y_USER }}'
C8Y_PASSWORD: '${{ secrets.C8Y_PASSWORD }}'
steps:
- uses: actions/checkout@v6
- uses: reubenmiller/setup-go-c8y-cli@main
- run: |
exec 0</dev/null # Redirect stdin globally to avoid stdin detection issues in go-c8y-cli
c8y microservices create --file myfile.zip
| Input |
Default |
Description |
version |
latest |
go-c8y-cli version to install (e.g. v2.52.1) |
showVersion |
true |
Print the installed version after setup |
showTenant |
true |
Print tenant info after setup |
| Output |
Description |
c8y |
Full path to the c8y binary |
steps:
- uses: actions/checkout@v6
- uses: reubenmiller/setup-go-c8y-cli@main
with:
version: 'v2.52.1'
showVersion: false
showTenant: false
- run: |
exec 0</dev/null # Redirect stdin globally to avoid stdin detection issues in go-c8y-cli
c8y microservices create --file myfile.zip