test #20
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- wintest | |
paths: | |
- '.github/workflows/test_win.yml' | |
name: Test Pipeline | |
jobs: | |
test1: | |
name: Global Cli Test | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- uses: dart-lang/setup-dart@v1.3 | |
- name: Run | |
run: | | |
dart create -t cli cli_test | |
echo "executables: {cli_test: }" >> cli_test/pubspec.yaml | |
dart pub global activate cli_test --source=path | |
dart pub global run cli_test --version | |
test2: | |
name: Standalone Cli Test | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- uses: dart-lang/setup-dart@v1.3 | |
- name: Run | |
run: | | |
dart create -t cli cli_test | |
echo "executables: {cli_test: }" >> cli_test/pubspec.yaml | |
dart pub global activate cli_test --source=path | |
cli_test --version |