Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pub.dev workflow for platform_interface #354

Merged
merged 3 commits into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions .github/workflows/pub-platform-interface-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ on:
push:
tags:
- 'pub-maplibre_gl_platform_interface-[0-9]+.[0-9]+.[0-9]+*'
workflow_dispatch:

jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
working-directory: maplibre_gl_platform_interface
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v4
# Setup Dart SDK with JWT token
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
# Publishing...
# skip validation due to https://github.com/dart-lang/setup-dart/issues/68
- name: Publish to pub.dev
run: dart pub publish -f --skip-validation
working-directory: maplibre_gl_platform_interface