diff --git a/.github/workflows/release_builds.yaml b/.github/workflows/release_builds.yaml index 879e25e..0ca9904 100644 --- a/.github/workflows/release_builds.yaml +++ b/.github/workflows/release_builds.yaml @@ -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 @@ -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 \ No newline at end of file + run: flutter_distributor release --name publish --jobs linux \ No newline at end of file diff --git a/distribute_options.yaml b/distribute_options.yaml index ccd9571..b73b2f8 100644 --- a/distribute_options.yaml +++ b/distribute_options.yaml @@ -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: @@ -30,4 +46,4 @@ releases: target: github args: repo-owner: rohitsangwan01 - repo-name: uni_control_hub \ No newline at end of file + repo-name: uni_control_hub