12
12
13
13
Check that JSON Key's Values Match Provided Values.
14
14
15
- - [ Inputs] ( #Inputs )
16
- - [ Examples] ( #Examples )
17
- - [ Support] ( #Support )
18
- - [ Contributing] ( #Contributing )
15
+ - [ Inputs] ( #Inputs )
16
+ - [ Examples] ( #Examples )
17
+ - [ Support] ( #Support )
18
+ - [ Contributing] ( #Contributing )
19
19
20
20
> [ !NOTE]
21
21
> Please submit
@@ -39,9 +39,9 @@ For multiple `keys` and `values` use new lines with a yaml `|`.
39
39
- name : ' Verify JSON'
40
40
uses : cssnr/json-key-value-check-action@v1
41
41
with :
42
- file : manifest.json
43
- keys : version
44
- values : ${{ github.ref_name }}
42
+ file : manifest.json
43
+ keys : version
44
+ values : ${{ github.ref_name }}
45
45
` ` `
46
46
47
47
Same as above but also setting an additional key value pair.
@@ -50,13 +50,13 @@ Same as above but also setting an additional key value pair.
50
50
- name : ' Verify JSON'
51
51
uses : cssnr/json-key-value-check-action@v1
52
52
with :
53
- file : manifest.json
54
- keys : |
55
- version
56
- version_name
57
- values : |
58
- ${{ github.ref_name }}
59
- "Release ${{ github.ref_name }}"
53
+ file : manifest.json
54
+ keys : |
55
+ version
56
+ version_name
57
+ values : |
58
+ ${{ github.ref_name }}
59
+ "Release ${{ github.ref_name }}"
60
60
` ` `
61
61
62
62
Set a nested key and use file from different directory.
@@ -65,39 +65,40 @@ Set a nested key and use file from different directory.
65
65
- name : ' Verify JSON'
66
66
uses : cssnr/json-key-value-check-action@v1
67
67
with :
68
- file : src/manifest.json
69
- keys : |
70
- meta.version
71
- values : |
72
- "Release ${{ github.ref_name }}"
68
+ file : src/manifest.json
69
+ keys : |
70
+ meta.version
71
+ values : |
72
+ "Release ${{ github.ref_name }}"
73
73
` ` `
74
74
75
75
# Support
76
76
77
77
For general help or to request a feature, see:
78
78
79
- - Q&A Discussion: https://github.com/cssnr/json-key-value-check-action/discussions/categories/q-a
80
- - Request a Feature: https://github.com/cssnr/json-key-value-check-action/discussions/categories/feature-requests
79
+ - Q&A Discussion: https://github.com/cssnr/json-key-value-check-action/discussions/categories/q-a
80
+ - Request a Feature: https://github.com/cssnr/json-key-value-check-action/discussions/categories/feature-requests
81
81
82
82
If you are experiencing an issue/bug or getting unexpected results, you can:
83
83
84
- - Report an Issue: https://github.com/cssnr/json-key-value-check-action/issues
85
- - Chat with us on Discord: https://discord.gg/wXy6m2X8wY
86
- - Provide General
87
- Feedback: [https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback)
84
+ - Report an Issue: https://github.com/cssnr/json-key-value-check-action/issues
85
+ - Chat with us on Discord: https://discord.gg/wXy6m2X8wY
86
+ - Provide General
87
+ Feedback: [https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback)
88
88
89
89
# Contributing
90
90
91
91
Currently, the best way to contribute to this project is to star this project on GitHub.
92
92
93
93
Additionally, you can support other GitHub Actions I have published:
94
94
95
- - [VirusTotal Action](https://github.com/cssnr/virustotal-action)
96
- - [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action)
97
- - [Update JSON Value Action](https://github.com/cssnr/update-json-value-action)
98
- - [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action)
99
- - [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action)
100
- - [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action)
101
- - [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action)
95
+ - [VirusTotal Action](https://github.com/cssnr/virustotal-action)
96
+ - [Update Version Tags Action](https://github.com/cssnr/update-version-tags-action)
97
+ - [Update JSON Value Action](https://github.com/cssnr/update-json-value-action)
98
+ - [Parse Issue Form Action](https://github.com/cssnr/parse-issue-form-action)
99
+ - [Mirror Repository Action](https://github.com/cssnr/mirror-repository-action)
100
+ - [Stack Deploy Action](https://github.com/cssnr/stack-deploy-action)
101
+ - [Portainer Stack Deploy](https://github.com/cssnr/portainer-stack-deploy-action)
102
+ - [Mozilla Addon Update Action](https://github.com/cssnr/mozilla-addon-update-action)
102
103
103
104
For a full list of current projects to support visit: [https://cssnr.github.io/](https://cssnr.github.io/)
0 commit comments