Skip to content

Commit

Permalink
feat: test release action
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Oct 26, 2023
1 parent 7f77393 commit 7ad5a9d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Release Next Version
on:
workflow_dispatch:
inputs:
release_tag:
description: 'Release Tag'
required: true
type: string
push:
branches: [ "*" ]
env:
NEW_VERSION: ${{ github.event.inputs.release_tag }}
NEW_VERSION: 0.1.1
jobs:
release:
runs-on: ubuntu-latest
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@ jobs:
- name: Run test
run: |
flutter pub get
flutter test --coverage --branch-coverage --reporter github
flutter test --coverage --reporter github
- name: Upload Test Report
uses: codecov/codecov-action@v3
with:
name: report
files: coverage/lcov.info

0 comments on commit 7ad5a9d

Please sign in to comment.