Update dart.yml
This commit is contained in:
committed by
GitHub
parent
fbc4d9ea28
commit
44945e23a5
27
.github/workflows/dart.yml
vendored
27
.github/workflows/dart.yml
vendored
@@ -1,20 +1,19 @@
|
|||||||
name: Publish plugin
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
|
name: Publish to pub.dev
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- '[0-9]+.[0-9]+.[0-9]+*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
|
permissions:
|
||||||
runs-on: ubuntu-latest
|
id-token: write # Required for authentication using OIDC
|
||||||
|
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
|
||||||
steps:
|
# with:
|
||||||
- name: Checkout
|
# working-directory: path/to/package/within/repository
|
||||||
uses: actions/checkout@v1
|
|
||||||
- name: Publish
|
|
||||||
uses: sakebook/actions-flutter-pub-publisher@v1.2.1
|
|
||||||
with:
|
|
||||||
credential: ${{ secrets.CREDENTIALS }}
|
|
||||||
skip_test: true
|
|
||||||
Reference in New Issue
Block a user