Skip to content

Commit

Permalink
attempt snap fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waozixyz committed Jul 22, 2024
1 parent 6960a23 commit 905f577
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 53 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/flutter_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,15 +217,24 @@ jobs:
path: |
InnerBreeze-Linux-x86_64.tar.gz
InnerBreeze-x86_64.AppImage
snap:
needs: cancel
name: Build Snap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: snapcore/action-build@v1
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}

- name: Install Dependencies
run: flutter pub get

- name: Build Snap
uses: snapcore/action-build@v1
id: build

- uses: snapcore/action-publish@v1
Expand All @@ -234,7 +243,7 @@ jobs:
with:
snap: ${{ steps.build.outputs.snap }}
release: ${{ startsWith(github.ref, 'refs/tags/') && 'stable' || 'beta' }}

windows:
needs: cancel
name: Build Windows
Expand Down
64 changes: 16 additions & 48 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ packages:
dependency: "direct main"
description:
name: intl
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
url: "https://pub.dev"
source: hosted
version: "0.19.0"
version: "0.18.1"
js:
dependency: transitive
description:
Expand Down Expand Up @@ -285,30 +285,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.2.0"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.dev"
source: hosted
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.dev"
source: hosted
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -337,26 +313,26 @@ packages:
dependency: transitive
description:
name: matcher
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
url: "https://pub.dev"
source: hosted
version: "0.12.16+1"
version: "0.12.16"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
url: "https://pub.dev"
source: hosted
version: "0.8.0"
version: "0.5.0"
meta:
dependency: transitive
description:
name: meta
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e
url: "https://pub.dev"
source: hosted
version: "1.12.0"
version: "1.10.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -401,10 +377,10 @@ packages:
dependency: transitive
description:
name: path
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.9.0"
version: "1.8.3"
path_parsing:
dependency: transitive
description:
Expand Down Expand Up @@ -702,10 +678,10 @@ packages:
dependency: "direct main"
description:
name: table_calendar
sha256: "4ca32b2fc919452c9974abd4c6ea611a63e33b9e4f0b8c38dba3ac1f4a6549d1"
sha256: "1e3521a3e6d3fc7f645a58b135ab663d458ab12504f1ea7f9b4b81d47086c478"
url: "https://pub.dev"
source: hosted
version: "3.1.2"
version: "3.0.9"
term_glyph:
dependency: transitive
description:
Expand All @@ -718,10 +694,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
version: "0.6.1"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -834,14 +810,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev"
source: hosted
version: "14.2.1"
wakelock_plus:
dependency: "direct main"
description:
Expand Down Expand Up @@ -899,5 +867,5 @@ packages:
source: hosted
version: "6.5.0"
sdks:
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
dart: ">=3.2.0 <4.0.0"
flutter: ">=3.16.0"
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ in
pkgs.mkShell {
buildInputs = with pkgs; [
# Flutter
flutter
flutter316

# Android dependencies
androidComposition.androidsdk
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ adopt-info: inner-breeze
version: '1.3.2'
license: MIT
grade: stable
base: core22
base: core20
confinement: strict
icon: snap/gui/io.naox.InnerBreeze.png

Expand Down

0 comments on commit 905f577

Please sign in to comment.