Skip to content

Commit

Permalink
Merge pull request #21 from contentstack/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
abhinav-from-contentstack authored Jun 4, 2024
2 parents 855f0ce + 0424a0a commit 0c796d1
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,21 @@ jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'
working-directory: .
name: 'Publish to pub.dev'
environment: 'pub.dev'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
with:
sdk: 2.19
- name: Install dependencies
run: dart pub get
working-directory: .
- name: Publish - dry run
run: dart pub publish --dry-run
working-directory: .
# Publishing...
- name: Publish to pub.dev
run: dart pub publish -f
working-directory: .

0 comments on commit 0c796d1

Please sign in to comment.