Skip to content

Commit

Permalink
. e added auto publishing to pub.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yelmuratoff committed May 10, 2024
1 parent 3fe935a commit 0468211
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ jobs:
run: |
./build_and_test.sh
shell: bash
- name: Publish to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# - name: Check Code Coverage
# uses: VeryGoodOpenSource/[email protected]
# with:
Expand All @@ -31,3 +41,4 @@ jobs:
# uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage/lcov.info
2 changes: 1 addition & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Tasks for the project are listed below:

* [ ] Markdown snippets
* [ ] Startup project
* [ ] Deploy script to automate the deployment process to pub.dev
* [ ] Add codecov and coverage badge
* [ ] Add contributing guide
* [ ] Cover the project completely with tests
Expand All @@ -23,3 +22,4 @@ Tasks for the project are listed below:
* [x] Add dependabot
* [x] Deploy to pub.dev
* [x] Check the causes of incorrect file paths in Windows
* [x] Deploy script to automate the deployment process to pub.dev

0 comments on commit 0468211

Please sign in to comment.