Skip to content

Commit

Permalink
.env for examples should now be located in examples/.env
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes committed Jul 4, 2024
1 parent fc5566c commit ff0211a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ jobs:

- name: Prepare .env for Examples
run: |
echo "OPERATOR_KEY=0xa608e2130a0a3cb34f86e757303c862bee353d9ab77ba4387ec084f881d420d4" > .env
echo "OPERATOR_ID=0.0.1022" >> .env
echo "HEDERA_NETWORK=localhost" >> .env
echo "OPERATOR_KEY=0xa608e2130a0a3cb34f86e757303c862bee353d9ab77ba4387ec084f881d420d4" > examples/.env
echo "OPERATOR_ID=0.0.1022" >> examples/.env
echo "HEDERA_NETWORK=localhost" >> examples/.env
- name: Run Examples
run: ./gradlew :examples:runAllExamples --scan
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
## Usage

### Configuration
Running the examples requires `.env` file to exist under [`root project folder`](../):
Running the examples requires `.env` file to exist in the [`examples`](.):

```sh
cp .env.sample ../.env
cp .env.sample .env
```

The `OPERATOR_ID` and `OPERATOR_KEY` variables should be set in a `.env` file.
Expand Down

0 comments on commit ff0211a

Please sign in to comment.