Release v1.0.4 #1
Workflow file for this run
This file contains 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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: CICD afridoctor_ui | |
run-name: "Release ${{ github.ref_name }}" | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
Publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.x" | |
channel: "stable" | |
- run: flutter --version | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Authenticate | |
run: echo ${{ secrets.CLOUDSMITH_API_KEY }} | dart pub token add ${{ vars.PACKAGE_REPOSITORY_URL }} | |
- name: Publishing package | |
run: echo y | dart pub publish |