Skip to content

Commit

Permalink
refactor: Dart based Github Workflow CLI (#1490)
Browse files Browse the repository at this point in the history
* feat: add build dart script for windows

* feat: add android build support

* feat: add linux build support

* feat: add macos build support

* feat: add ios build support

* feat: add deps install command and workflow file

* cd: what?

* cd: what?

* cd: what?

* cd: update workflow inputs

* cd: replace release binary

* cd: run flutter pub get

* cd: use dpkg zstd instead of xz, windows disable innoInstall, fix channel enum.name and reset pubspec after changing build no for nightly

* cd: fix tar copy path

* cd: fix copy linux command

* cd: fix windows inno depend and fix android aab path

* cd: idk

* cd: linux why???

* cd: windows choco copy failed

* cd: use dart tar archive for creating tar file

* cd: fix linux file copy error

* cd: use tar command directly

* feat: add linux_arm platform

* cd: add linux_arm platform

* cd: don't know what?

* feat: notification about nightly channel update

* chore: fix some errors parsing nightly version info
  • Loading branch information
KRTirtho authored May 9, 2024
1 parent 4ca8939 commit a77b677
Show file tree
Hide file tree
Showing 24 changed files with 840 additions and 535 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ ENABLE_UPDATE_CHECK=

LASTFM_API_KEY=
LASTFM_API_SECRET=

# Release channel. Can be: nightly, stable
RELEASE_CHANNEL=
8 changes: 2 additions & 6 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,10 @@ COPY . .

RUN chown -R $(whoami) /app

RUN flutter pub get &&\
flutter config --enable-linux-desktop &&\
flutter pub get &&\
dart run build_runner build --delete-conflicting-outputs
RUN flutter pub get

RUN alias dpkg-deb="dpkg-deb --Zxz" &&\
flutter_distributor package --platform=linux --targets=deb

flutter_distributor package --platform=linux --targets=deb --skip-clean

RUN make tar VERSION=${BUILD_VERSION} ARCH=arm64 PKG_ARCH=aarch64

Expand Down
Loading

0 comments on commit a77b677

Please sign in to comment.