Skip to content

add new version of SimpleRemoteConfig #1

add new version of SimpleRemoteConfig

add new version of SimpleRemoteConfig #1

Workflow file for this run

name: Build, Test and Deploy to Pub.dev
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Dart
uses: dart-lang/setup-dart@v1
- name: Get dependencies
run: dart pub get
- name: Format
run: dart format --set-exit-if-changed .
- name: Analyze
run: dart analyze
- name: Test
run: dart test --coverage=coverage
# Check version in pubspec.yaml and create a new tag, if necessary and deploy to pub.dev
- name: Check version and deploy
run: |
VERSION=$(grep 'version: ' pubspec.yaml | sed 's/version: //')
git tag -a $VERSION -m "Version $VERSION"
git push origin $VERSION
dart pub publish --dry-run