File tree Expand file tree Collapse file tree 2 files changed +11
-40
lines changed
Expand file tree Collapse file tree 2 files changed +11
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Output config schema
1+ name : Generate capabilities and config schema
22
33on :
44 push :
55 branches :
66 - main
77
88jobs :
9- output-config-schema :
9+ generate_outputs :
1010 if : github.actor != 'github-actions[bot]'
1111 runs-on : ubuntu-latest
1212
@@ -19,17 +19,22 @@ jobs:
1919 - name : Setup Go
2020 uses : actions/setup-go@v5
2121 with :
22- go-version-file : ' go.mod'
22+ go-version-file : " go.mod"
2323
2424 - name : Build
2525 run : go build -o connector ./cmd/baton-linear
2626
27- - name : Run and save output
27+ - name : Run and save config output
2828 run : ./connector config > config_schema.json
2929
30+ - name : Run and save capabilities output
31+ run : ./connector capabilities --api-key "test-token" > baton_capabilities.json
32+
3033 - name : Commit changes
3134 uses : EndBug/add-and-commit@v9
3235 with :
3336 default_author : github_actions
34- message : ' Updating config schema.'
35- add : ' config_schema.json'
37+ message : " Updating baton config schema and capabilities."
38+ add : |
39+ config_schema.json
40+ baton_capabilities.json
You can’t perform that action at this time.
0 commit comments