|
2 | 2 |
|
3 | 3 | [](https://github.com/cloudsmith-io/cloudsmith-cli-action/actions/workflows/test_install.yml) |
4 | 4 | [](https://github.com/marketplace/actions/cloudsmith-cli-install-action) |
5 | | -[](https://nodejs.org/) |
| 5 | +[](https://nodejs.org/) |
6 | 6 | [](LICENSE) |
7 | 7 | [](https://github.com/cloudsmith-io/cloudsmith-cli-action/releases) |
8 | 8 |
|
@@ -42,7 +42,7 @@ See [CLI configuration documentation](https://github.com/cloudsmith-io/cloudsmit |
42 | 42 | Cloudsmith OIDC [documentation](https://docs.cloudsmith.com/authentication/openid-connect) |
43 | 43 |
|
44 | 44 | ```yaml |
45 | | -uses: cloudsmith-io/cloudsmith-cli-action@v1 |
| 45 | +uses: cloudsmith-io/cloudsmith-cli-action@v2 |
46 | 46 | with: |
47 | 47 | oidc-namespace: 'your-oidc-namespace' |
48 | 48 | oidc-service-slug: 'your-service-account-slug' |
|
53 | 53 | Personal API Key can be found [here](https://cloudsmith.io/user/settings/api/). For CI-CD deployments we recommend using [Service Accounts](https://docs.cloudsmith.com/accounts-and-teams/service-accounts). |
54 | 54 |
|
55 | 55 | ```yaml |
56 | | -uses: cloudsmith-io/cloudsmith-cli-action@v1 |
| 56 | +uses: cloudsmith-io/cloudsmith-cli-action@v2 |
57 | 57 | with: |
58 | 58 | api-key: 'your-api-key' |
59 | 59 | ``` |
|
63 | 63 | If you only need to authenticate with Cloudsmith's API without installing the CLI: |
64 | 64 |
|
65 | 65 | ```yaml |
66 | | -uses: cloudsmith-io/cloudsmith-cli-action@v1 |
| 66 | +uses: cloudsmith-io/cloudsmith-cli-action@v2 |
67 | 67 | with: |
68 | 68 | oidc-namespace: 'your-oidc-namespace' |
69 | 69 | oidc-service-slug: 'your-service-account-slug' |
@@ -103,7 +103,7 @@ jobs: |
103 | 103 | uses: actions/checkout@v4 |
104 | 104 |
|
105 | 105 | - name: Install Cloudsmith CLI |
106 | | - uses: cloudsmith-io/cloudsmith-cli-action@v1 |
| 106 | + uses: cloudsmith-io/cloudsmith-cli-action@v2 |
107 | 107 | with: |
108 | 108 | oidc-namespace: 'your-oidc-namespace' |
109 | 109 | oidc-service-slug: 'your-service-account-slug' |
|
0 commit comments