Skip to content

Commit

Permalink
Given up on linux automated build... will be windows only (for now) (#25
Browse files Browse the repository at this point in the history
)
  • Loading branch information
bootloopmaster636 authored Oct 10, 2023
1 parent d27cc76 commit f1a296c
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,6 @@ on:
push:

jobs:
build-and-release-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.13.5'
- name: Install dependencies
run: sudo apt-get install nala && sudo nala install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
run: flutter pub run build_runner build --delete-conflicting-outputs
- name: Enable linux build
run: flutter config --enable-linux-desktop
- name: Build artifacts
run: flutter build linux --release
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: UGD_timer-${{github.ref_name}}-linux.zip
directory: build/linux/x64/release/bundle
- name: Linux Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/linux/x64/release/bundle/UGD_timer-${{github.ref_name}}-linux.zip

build-and-release-windows:
runs-on: windows-latest

Expand All @@ -45,7 +12,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.13.5'
flutter-version: '3.13.6'
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
Expand Down

0 comments on commit f1a296c

Please sign in to comment.