Skip to content

Commit

Permalink
Merge pull request #65 from xmtp/ea/fix-publish-auth
Browse files Browse the repository at this point in the history
fix: use JWT token when publishing dart package
  • Loading branch information
Elise Alix committed Apr 4, 2023
2 parents 61513b5 + 96731eb commit 3dbfb23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ on:
jobs:
dart:
name: Release (dart)
permissions:
id-token: write # This is required for requesting the JWT
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Setup Dart SDK with JWT token https://github.com/dart-lang/setup-dart/blob/77b84bec90e9a0d07f68a3cedd3651ba9e606a12/.github/workflows/publish.yml#L33
- uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.7.6'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.4
- publish package with GitHub Actions
- use batch query for listing messages

## 0.0.3
- use batch query for listing messages

Expand Down

0 comments on commit 3dbfb23

Please sign in to comment.