Create publish.yml
This commit is contained in:
18
.github/workflows/publish.yml
vendored
Normal file
18
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Publish to Pub.dev
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
publishing:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@main # required!
|
||||
|
||||
- name: '>> Dart package <<'
|
||||
uses: k-paxian/dart-package-publisher@master
|
||||
with:
|
||||
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
|
||||
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
|
Reference in New Issue
Block a user