Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ing#publishing-packages-using-github-actions due to lack of support for flutter; initial work on approach from dart-lang/setup-dart#68 (comment)
  • Loading branch information
rpelavin committed Aug 30, 2024
1 parent 1c36ed4 commit 22fe4a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
steps:
- uses: actions/deploy-pages@v4
id: deployment
publish:
needs: build
permissions:
id-token: write
steps:
- uses: actions/github-script@v6
with:
script: |
let pub_token = await core.getIDToken('https://pub.dev')
core.exportVariable('PUB_TOKEN', pub_token)
- if: startsWith(github.ref, 'refs/tags/v0.0.')
run: flutter pub publish --dry-run
12 changes: 0 additions & 12 deletions .github/workflows/publish.yaml

This file was deleted.

0 comments on commit 22fe4a6

Please sign in to comment.