Skip to content

Bump share_plus from 10.0.3 to 10.1.2 #890

Bump share_plus from 10.0.3 to 10.1.2

Bump share_plus from 10.0.3 to 10.1.2 #890

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable' # 'master', 'beta', 'dev' or 'stable'
- name: Install dependencies
run: flutter pub get
# verify the use of 'dart format' on each commit.
- name: Verify formatting
run: dart format --set-exit-if-changed .
- name: Generator ENV
run: |
tee .development.env &>/dev/null << EOF
CLIENT_ID=${{ secrets.CLIENT_ID }}
CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}
WYRE_SECRET=WYRE_SECRET
WYRE_ACCOUNT=WYRE_ACCOUNT
EOF
tee .production.env &>/dev/null << EOF
CLIENT_ID=${{ secrets.CLIENT_ID }}
CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}
WYRE_SECRET=WYRE_SECRET
WYRE_ACCOUNT=WYRE_ACCOUNT
EOF
- name: Run Build Runner
run: dart run build_runner build --delete-conflicting-outputs
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: flutter analyze
- name: Run tests
run: flutter test
- name: Version
run: sed -i -- "s/BUILD_VERSION/`git rev-parse HEAD`/g" web/index.html || exit
- name: Build APP
run: flutter build web --web-renderer html --release --base-href /mixin-wallet/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/web/
force_orphan: true