-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from apivideo/feature/clean
Feature/clean
- Loading branch information
Showing
59 changed files
with
1,598 additions
and
1,373 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: Build | ||
on: [push] | ||
|
||
defaults: | ||
run: | ||
working-directory: example/ | ||
|
||
jobs: | ||
build_ios: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Flutter | ||
id: flutter | ||
uses: DanTup/gh-actions/setup-flutter@master | ||
with: | ||
channel: stable | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Build iOS application | ||
run: flutter build ios --no-codesign | ||
|
||
build_android: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Flutter | ||
id: flutter | ||
uses: DanTup/gh-actions/setup-flutter@master | ||
with: | ||
channel: 2.5.3 | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Build Android application | ||
run: flutter build apk |
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,18 @@ | ||
name: Publish to pub.dev | ||
on: | ||
release: | ||
types: [ published ] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Flutter | ||
id: flutter | ||
uses: DanTup/gh-actions/setup-flutter@master | ||
with: | ||
channel: stable | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Publishing | ||
run: flutter pub publish |
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,32 @@ | ||
name: Run tests | ||
on: [push] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Flutter | ||
id: flutter | ||
uses: DanTup/gh-actions/setup-flutter@master | ||
with: | ||
channel: stable | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Analyze project source | ||
run: flutter analyze | ||
- name: Run tests | ||
run: flutter test | ||
|
||
publish_test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Flutter | ||
id: flutter | ||
uses: DanTup/gh-actions/setup-flutter@master | ||
with: | ||
channel: stable | ||
- name: Install dependencies | ||
run: flutter pub get | ||
- name: Dry-run publishing | ||
run: flutter pub publish --dry-run |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
## 0.0.1 | ||
## 0.1.0 | ||
|
||
* TODO: Describe initial release. | ||
* Initial release. |
Oops, something went wrong.