Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitsangwan01 committed Jul 7, 2024
1 parent d235f9d commit a150f65
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
architecture: x64
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-0 libgtk-3-dev libblkid1 liblzma5
- name: Enable Linux
run: flutter config --enable-linux-desktop
- name: Get Dependencies
Expand All @@ -22,4 +25,4 @@ jobs:
- name: Activate Packaging Tool
run: dart pub global activate flutter_distributor
- name: Release App
run: flutter_distributor release --name dev --jobs linux
run: flutter_distributor release --name publish --jobs linux
22 changes: 19 additions & 3 deletions distribute_options.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
# export GITHUB_TOKEN="personal access token"
# flutter_distributor release --name dev
# flutter_distributor release --name bundle
output: dist/
releases:
- name: dev
## Only Build Locally
- name: bundle
jobs:
- name: macos
package:
platform: macos
target: dmg
- name: windows
package:
platform: windows
target: exe
- name: linux
package:
platform: linux
target: deb
## Build and publish to github
- name: publish
jobs:
- name: macos
package:
Expand Down Expand Up @@ -30,4 +46,4 @@ releases:
target: github
args:
repo-owner: rohitsangwan01
repo-name: uni_control_hub
repo-name: uni_control_hub

0 comments on commit a150f65

Please sign in to comment.