Skip to content

chore(flathub): reverse release order #1255

chore(flathub): reverse release order

chore(flathub): reverse release order #1255

Workflow file for this run

name: smoke tests
on:
push:
branches:
- main
tags:
- dependencies
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
jobs:
smoke-test:
if: github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: echo "version=$(cat .flutter-version)" >> $GITHUB_OUTPUT
id: flutter-version
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: ${{ steps.flutter-version.outputs.version }}
cache: true
- run: flutter config --no-analytics
- run: flutter pub get
- run: flutter test test/smoke_test.dart
smoke-build-android:
# for android we only validate the build process, running is too complicated
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- run: echo "version=$(cat .flutter-version)" >> $GITHUB_OUTPUT
id: flutter-version
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: ${{ steps.flutter-version.outputs.version }}
cache: true
- run: flutter config --no-analytics
- run: flutter pub get
- run: flutter build apk