-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Updated the BASE_URL in dart client, Created another workflow …
…to run the dart examples.
- Loading branch information
1 parent
fbc3349
commit e0beb70
Showing
3 changed files
with
60 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Dart-Client run examples | ||
|
||
on: | ||
push: | ||
branches: | ||
[development, development_*] | ||
pull_request: | ||
branches: | ||
[development, development_*] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Dart | ||
uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: '3.1.4' | ||
|
||
- name: Install dependencies | ||
run: cd clients/dart/switchkeys && dart pub get | ||
|
||
- name: Create .env file | ||
run: | | ||
cd clients/dart/switchkeys | ||
touch .env | ||
echo BASE_URL=${{ secrets.BASE_URL }} >> .env | ||
cat .env | ||
- name: Run Examples | ||
run: cd clients/dart/switchkeys && dart example.dart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,3 @@ jobs: | |
|
||
- name: Run Examples | ||
run: cd clients/typescript && npx ts-node ./example.ts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters