Update dart.yml

This commit is contained in:
Chandra Abdul Fattah
2025-08-19 19:32:23 +07:00
committed by GitHub
parent fbc4d9ea28
commit 44945e23a5

View File

@@ -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:
push:
tags:
- v*
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Publish
uses: sakebook/actions-flutter-pub-publisher@v1.2.1
with:
credential: ${{ secrets.CREDENTIALS }}
skip_test: true
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
# with:
# working-directory: path/to/package/within/repository