Skip to content

Commit

Permalink
fixes release.yml and update the cli readme
Browse files Browse the repository at this point in the history
  • Loading branch information
clems4ever committed Aug 4, 2023
1 parent 82b5a0b commit 2be41fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:

#- name: unit tests
# run: make test

- name: test default config generation
run: go run any-sync-network/main.go create --defaults

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ jobs:
#- name: unit tests
# run: make test

- name: test default config generation
run: go run any-sync-network/main.go create --defaults

- name: build
run: make build BUILD_GOOS=${{ matrix.os}} BUILD_GOARCH=${{ matrix.arch }}
# }}

- name: test default config generation
run: ./bin/any-sync-network create --defaults

- name: get release version
id: release-version
run: |
Expand Down
6 changes: 6 additions & 0 deletions any-sync-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Note that there are prerequisites for successful configuration:

You can use the generated `*.yml` files as your nodes' and `anytype-heart`'s configurations.

One can also use the CLI in a non interactive way by generating a default configuration using the defaults
flag. This is useful for automating configuration generation.
```
any-sync-network create --defaults
```

### Example
![Interactive CLI demo](../assets/any-sync-network-example.gif)

Expand Down

0 comments on commit 2be41fc

Please sign in to comment.