Skip to content

Commit

Permalink
Actions file changed to install flutter pub get
Browse files Browse the repository at this point in the history
  • Loading branch information
dhwanish-3 committed Jan 27, 2024
1 parent 7cd362d commit 6537845
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ jobs:
publish:
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
runs-on: ubuntu-latest
steps:
# Checkout repository
- uses: actions/checkout@v4
# Setup Dart SDK with JWT token
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d
# Minimal package setup and dry run checks.
- name: Install dependencies
run: flutter pub get
- name: Publish - dry run
run: dart pub publish --dry-run
# Publishing...
- name: Publish to pub.dev
run: dart pub publish -f

0 comments on commit 6537845

Please sign in to comment.