Merge pull request #937 from Lyokone/release_new_versions #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: location_platform_interface publish | |
on: | |
push: | |
tags: ["location_platform_interface-v*"] | |
jobs: | |
publish: | |
name: Publish on pub.dev | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
# This step adds the auth token for pub.dev | |
- name: Set up Dart | |
uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: stable | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
- name: Publish to pub.dev | |
id: pub_release | |
uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1 | |
with: | |
path: packages/location_platform_interface |