https://github.com/reubenmiller/setup-go-c8y-cli
Setup go-c8y-cli for use in GitHub workflows
https://github.com/reubenmiller/setup-go-c8y-cli
c8y cumulocity-iot github-actions go-c8y-cli
Last synced: 2 months ago
JSON representation
Setup go-c8y-cli for use in GitHub workflows
- Host: GitHub
- URL: https://github.com/reubenmiller/setup-go-c8y-cli
- Owner: reubenmiller
- License: mit
- Created: 2023-07-18T15:40:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-03T13:11:00.000Z (5 months ago)
- Last Synced: 2025-03-06T03:35:10.382Z (2 months ago)
- Topics: c8y, cumulocity-iot, github-actions, go-c8y-cli
- Language: TypeScript
- Homepage: https://goc8ycli.netlify.app
- Size: 982 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# setup-go-c8y-cli
[](https://github.com/reubenmiller/setup-go-c8y-cli/actions)
This action sets up a binary in \$PATH for use in actions
```yaml
env:
C8Y_HOST: '${{ secrets.C8Y_HOST }}'
C8Y_USER: '${{ secrets.C8Y_USER }}'
C8Y_PASSWORD: '${{ secrets.C8Y_PASSWORD }}'
steps:
- uses: actions/checkout@v3
- uses: reubenmiller/setup-go-c8y-cli@main
- run: |
c8y microservice create --file myfile.zip
```You can customize some of the go-c8y-cli setup options:
```yaml
env:
C8Y_HOST: '${{ secrets.C8Y_HOST }}'
C8Y_USER: '${{ secrets.C8Y_USER }}'
C8Y_PASSWORD: '${{ secrets.C8Y_PASSWORD }}'
steps:
- uses: actions/checkout@v3
- uses: reubenmiller/setup-go-c8y-cli@main
with:
version: '2.36.0'
showVersion: false
showTenant: false
- run: |
c8y microservice create --file myfile.zip
```