Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linux workflow #9

Merged
merged 1 commit into from
Jul 24, 2024
Merged
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
76 changes: 39 additions & 37 deletions .github/workflows/release_builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Update dependencies
run: sudo apt-get update -y
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-0 libgtk-3-dev libblkid1 liblzma5
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
- name: Enable Linux
run: flutter config --enable-linux-desktop
- name: Activate Packaging Tool
Expand All @@ -26,41 +28,41 @@ jobs:
run: flutter_distributor release --name publish --jobs linux

# Runs on Windows x64
windows:
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Apply Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Enable Windows
run: flutter config --enable-windows-desktop
- name: Activate Packaging Tool
run: dart pub global activate flutter_distributor
- name: Release App
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flutter_distributor release --name publish --jobs windows
# windows:
# runs-on: windows-latest
# steps:
# - name: Git Checkout
# uses: actions/checkout@v3
# - name: Apply Flutter Environment
# uses: subosito/flutter-action@v2
# with:
# channel: "stable"
# - name: Enable Windows
# run: flutter config --enable-windows-desktop
# - name: Activate Packaging Tool
# run: dart pub global activate flutter_distributor
# - name: Release App
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: flutter_distributor release --name publish --jobs windows

# Runs on Macos Arm64
macos:
runs-on: macos-latest
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Install appdmg
run: npm install -g appdmg
- name: Apply Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Enable MacOS
run: flutter config --enable-macos-desktop
- name: Activate Packaging Tool
run: dart pub global activate flutter_distributor
- name: Release App
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flutter_distributor release --name publish --jobs macos
# macos:
# runs-on: macos-latest
# steps:
# - name: Git Checkout
# uses: actions/checkout@v3
# - name: Install appdmg
# run: npm install -g appdmg
# - name: Apply Flutter Environment
# uses: subosito/flutter-action@v2
# with:
# channel: "stable"
# - name: Enable MacOS
# run: flutter config --enable-macos-desktop
# - name: Activate Packaging Tool
# run: dart pub global activate flutter_distributor
# - name: Release App
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: flutter_distributor release --name publish --jobs macos
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"libblkid",
"libcrypto",
"libgtk",
"libstdc",
"libusb",
"marvinpinto",
"mikefarah",
Expand Down
Loading