Prerelease - Publish packages #131
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Prerelease - Publish packages | |
| on: | |
| # Enable to also publish, when pushing a tag | |
| #push: | |
| # tags: | |
| # - '*' | |
| workflow_dispatch: | |
| jobs: | |
| publish-packages: | |
| name: Publish packages | |
| permissions: | |
| contents: write | |
| id-token: write # Required for authentication using OIDC | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:" # optional, change this to force refresh cache | |
| cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path | |
| architecture: x64 # optional, x64 or arm64 | |
| - name: Publish packages | |
| uses: bluefireteam/melos-action@v3 | |
| with: | |
| publish: true |