Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ on:

jobs:
build:
permissions:
id-token: write
runs-on: ubuntu-latest

steps:
Expand All @@ -22,7 +24,7 @@ jobs:
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
# - uses: dart-lang/setup-dart@v1
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
- uses: isoos/setup-dart@cde23bc2fdba8c3c38dadd501dee95e684c2bb86

- name: Install dependencies
run: dart pub get
Expand All @@ -40,3 +42,9 @@ jobs:
# want to change this to 'flutter test'.
- name: Run tests
run: dart test

- name: publish
run: |
dart pub global activate -s git https://github.com/isoos/pub
echo $PUB_TOKEN | base64
dart pub global run pub publish -v -f
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Run tasks periodically at fixed times or intervals.

NOTE: This package is not intended for the backround tasks scheduling
of mobile applications.

## Usage

A simple usage example:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cron
description: A time-based job scheduler similar to cron. Run tasks periodically at fixed times or intervals.
version: 0.5.0
version: 0.5.0+1
homepage: https://github.com/agilord/cron

environment:
Expand Down