Skip to content

Commit 6b2332a

Browse files
Release version v1.0.8
1 parent a5883bc commit 6b2332a

37 files changed

+1542
-401
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish Dart Package
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
12+
- name: Setup Dart
13+
uses: dart-lang/setup-dart@v1
14+
15+
- name: Install dependencies
16+
run: dart pub get
17+
18+
- name: Analyze and format
19+
run: |
20+
dart analyze
21+
dart format --output=none --set-exit-if-changed .
22+
23+
- name: Run tests
24+
run: dart test
25+
26+
- name: Publish to pub.dev
27+
env:
28+
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}
29+
run: |
30+
# Setup pub credentials
31+
mkdir -p ~/.pub-cache
32+
echo "$PUB_CREDENTIALS" > ~/.pub-cache/credentials.json
33+
# Publish
34+
dart pub publish --force

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## 1.0.7
2-
3-
- Release version 1.0.7 bring minor changes
4-
51
## 1.0.4
62

73
- Updated method names and added new methods for transformations.

0 commit comments

Comments
 (0)