Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
release:
types: [published]
workflow_dispatch:
push:
branches:
- ci/linux-deployment # TEMP: remove after testing

jobs:
deploy-ios:
Expand Down Expand Up @@ -176,6 +179,24 @@ jobs:
- name: Publish to Microsoft Store
run: msstore publish . -v -id ${{ secrets.MICROSOFT_STORE_PRODUCT_ID }}

deploy-linux:
name: Build and Deploy Linux
runs-on: ubuntu-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v4

- uses: snapcore/action-build@v1
id: build

- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
snap: ${{ steps.build.outputs.snap }}
release: stable

deploy-web:
name: Build and Deploy Web
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions snap/gui/fl-chart-app.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Name=FL Chart
Comment=Interactive chart samples built with fl_chart
Exec=fl-chart-app
Icon=${SNAP}/meta/gui/fl-chart-app.png
Terminal=false
Type=Application
Categories=Development;
Binary file added snap/gui/fl-chart-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: fl-chart-app
version: 1.2.0
summary: FL Chart - Interactive chart samples
description: |
FL Chart App demonstrates the fl_chart Flutter package with interactive
samples of line, bar, pie, scatter, radar, and candlestick charts.

confinement: strict
base: core22
grade: stable

slots:
dbus-fl-chart-app:
interface: dbus
bus: session
name: dev.flchart.app

apps:
fl-chart-app:
command: fLChartApp
extensions: [gnome]
plugs:
- network
slots:
- dbus-fl-chart-app

parts:
fl-chart-app:
source: .
source-subdir: example
plugin: flutter
flutter-target: lib/main.dart
build-packages:
- llvm-14
- lld-14
Loading