Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
joutvhu committed Feb 9, 2023
1 parent b969015 commit d9f9593
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/publish_pub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,27 @@ on:
- created

jobs:
build:
test:
runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with:
flutter-version: '3.7.3'
channel: 'stable'

- name: Run tests
run: flutter test --machine test

publish:
runs-on: ubuntu-latest
container:
image: google/dart:latest
needs: test
steps:
- uses: actions/checkout@v3

- name: Setup Credentials
uses: joutvhu/write-file@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .pubignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ migrate_working_dir/
# is commented out by default.
#.vscode/

# Github
.github

# Code Coverage
coverage

Expand Down

0 comments on commit d9f9593

Please sign in to comment.