Skip to content

Commit

Permalink
Release: v0.7.6 (#107)
Browse files Browse the repository at this point in the history
## What's Changed
* Switch KV joining for gcloud to be a predictable string by @sethvargo
in #106


**Full Changelog**:
v0.7.5...c193fe5
  • Loading branch information
google-github-actions-bot authored May 17, 2024
1 parent c193fe5 commit 5e1f6e4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
26 changes: 13 additions & 13 deletions docs/modules/kv.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ KVPair represents a key=value pair of strings.

#### Defined in

[kv.ts:27](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L27)
[kv.ts:26](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L26)

## Functions

Expand All @@ -51,32 +51,32 @@ joinKVString joins the given KVPair using the provided separator.

#### Defined in

[kv.ts:35](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L35)
[kv.ts:34](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L34)

___

### joinKVStringForGCloud

**joinKVStringForGCloud**(`input`, `rand?`): `string`
**joinKVStringForGCloud**(`input`, `chars?`): `string`

joinKVStringForGCloud creates a string suitable for using with gcloud by
choosing a custom escape delimiter sequence that does not exist in the input
string.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `input` | [`KVPair`](kv.md#kvpair) | KVPair to serialize. |
| `rand` | `string` | String of random characters to use; override for testing. |
| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `input` | [`KVPair`](kv.md#kvpair) | `undefined` | KVPair to serialize. |
| `chars` | `string` | `',.!@#$%&*()_=+~`[]{}|:;<>?🚀🍪🐼\u200B'` | String of characters to use. |

#### Returns

`string`

#### Defined in

[kv.ts:51](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L51)
[kv.ts:50](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L50)

___

Expand All @@ -100,7 +100,7 @@ the contents are parsed as a subset of YAML.

#### Defined in

[kv.ts:172](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L172)
[kv.ts:160](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L160)

___

Expand Down Expand Up @@ -130,7 +130,7 @@ List of key=value pairs.

#### Defined in

[kv.ts:207](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L207)
[kv.ts:195](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L195)

___

Expand All @@ -155,7 +155,7 @@ is trimmed.

#### Defined in

[kv.ts:103](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L103)
[kv.ts:91](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L91)

___

Expand All @@ -179,7 +179,7 @@ results (with kvString taking precedence).

#### Defined in

[kv.ts:278](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L278)
[kv.ts:266](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L266)

___

Expand All @@ -202,4 +202,4 @@ for testing.

#### Defined in

[kv.ts:251](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L251)
[kv.ts:239](https://github.com/google-github-actions/actions-utils/blob/main/src/kv.ts#L239)
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@google-github-actions/actions-utils",
"version": "0.7.5",
"version": "0.7.6",
"description": "Helpers and utilities that are shared among Google GitHub Actions",
"author": "Google LLC",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5e1f6e4

Please sign in to comment.