Skip to content

Commit

Permalink
Merge pull request #60 from appwrite/lohanidamodar-patch-1
Browse files Browse the repository at this point in the history
fix pub workflow
  • Loading branch information
lohanidamodar authored May 31, 2024
2 parents f34da98 + 2e3c357 commit d07da1c
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ name: Publish to pub.dev
on:
push:
tags:
- '[0-9]+\.[0-9]+\.[0-9]+.*'
- '[0-9]+\.[0-9]+\.[0-9]+*'

# Publish using custom workflow
jobs:
publish:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: pub.dev
id-token: write # Required for authentication using OIDC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Publish
run: dart pub publish --force

0 comments on commit d07da1c

Please sign in to comment.