Skip to content

Commit

Permalink
Merge bf95192 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 19, 2021
2 parents 1362d66 + bf95192 commit 652526b
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 37 deletions.
15 changes: 0 additions & 15 deletions .github/publish.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/ver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: my workflow
on: push
jobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "PKGVER=$(sed -n "s/version://p" pubspec.yaml | xargs)" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.PKGVER }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64 changes: 45 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,37 +84,63 @@ jobs:
run: pub publish -f
#run: pub publish -dry-run

to-master:
release:
needs: to-pubdev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Merge current -> master
- uses: actions/checkout@v2
#- uses: actions/checkout@master
- name: Merge to master branch
uses: devmasx/[email protected]
with:
type: now
target_branch: master
github_token: ${{ github.token }}
#- uses: actions/checkout@v2
- name: Get version from pubspec.yaml
run: echo "PKGVER=$(sed -n "s/version://p" pubspec.yaml | xargs)" >> $GITHUB_ENV
- name: Publish GitHub release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.PKGVER }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}




# pub:
# if: startsWith(github.event.ref, 'refs/tags/rc')
# runs-on: ubuntu-latest
# steps:
# - name: echo
# run: echo "Yes"
#
# merge-to-master:
# needs: [test, analyze]
# if: startsWith(github.event.ref, 'refs/tags/rc')
# gh-release:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Merge current -> master
# uses: devmasx/[email protected]
# - name: Get version from pubspec.yaml
# run: echo "PKGVER=$(sed -n "s/version://p" pubspec.yaml | xargs)" >> $GITHUB_ENV
# - name: Publish GitHub release
# uses: softprops/action-gh-release@v1
# with:
# type: now
# target_branch: master
# github_token: ${{ github.token }}
# tag_name: ${{ env.PKGVER }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
#
#
#
#
## pub:
## if: startsWith(github.event.ref, 'refs/tags/rc')
## runs-on: ubuntu-latest
## steps:
## - name: echo
## run: echo "Yes"
##
## merge-to-master:
## needs: [test, analyze]
## if: startsWith(github.event.ref, 'refs/tags/rc')
## runs-on: ubuntu-latest
## steps:
## - uses: actions/checkout@v2
## - name: Merge current -> master
## uses: devmasx/[email protected]
## with:
## type: now
## target_branch: master
## github_token: ${{ github.token }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 0.2.0+1-alpha
# 0.2.0+3-alpha

- Added TimeScheduler

Expand Down
2 changes: 1 addition & 1 deletion lib/schedulers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
export 'src/50_interval.dart';
export 'src/50_rateLimiting.dart';
export 'src/50_lazy.dart';
export 'src/50_time.dart';
export 'src/50_time.dart';
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: schedulers
description: Dart library for running asynchronous functions on time. Useful for load balancing, rate limiting, lazy execution.
repository: https://github.com/rtmigo/schedulers

version: 0.2.0+1-alpha
version: 0.2.0+3-alpha

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit 652526b

Please sign in to comment.