Skip to content

Release Package

Release Package #8

Workflow file for this run

name: Release Package
on:
workflow_dispatch:
concurrency:
group: release
cancel-in-progress: true
jobs:
package_and_publish:
name: Package and Publish
runs-on: ubuntu-latest
permissions:
contents: 'write'
id-token: 'write'
steps:
- uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: gcloud auth print-identity-token --audiences=https://pub.dev | dart pub token add https://pub.dev
- uses: extractions/setup-just@v2
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/checkout@v4
- name: generate code
run: just
- name: release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/git
@semantic-release/changelog