Skip to content

Commit

Permalink
added dependency for local_notifier for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
sarika gautam authored and sarika gautam committed Apr 28, 2022
1 parent a9e437f commit 5d30798
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/Flutter_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
channel: 'stable'
flutter-version: '2.10.0'
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libnotify-dev
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
Expand Down Expand Up @@ -67,33 +67,33 @@ jobs:
with:
files: build/windows/runner/Release/AtmospherePro-${{github.ref_name}}-windows.zip

build-and-release-macos:
runs-on: macos-latest
# build-and-release-macos:
# runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
flutter-version: '2.10.0'
- name: Install project dependencies
run: flutter pub get
- name: Generate intermediates
run: flutter pub run build_runner build --delete-conflicting-outputs
- name: Enable macOS build
run: flutter config --enable-macos-desktop
- name: Build artifacts
run: flutter build macos --release --allowProvisioningUpdates
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: AtmospherePro-${{github.ref_name}}-macos.zip
directory: build/macos/Build/Products/Release
- name: macOS Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/macos/Build/Products/Release/AtmospherePro-${{github.ref_name}}-macos.zip
# steps:
# - uses: actions/checkout@v2
# - uses: subosito/flutter-action@v1
# with:
# channel: 'stable'
# flutter-version: '2.10.0'
# - name: Install project dependencies
# run: flutter pub get
# - name: Generate intermediates
# run: flutter pub run build_runner build --delete-conflicting-outputs
# - name: Enable macOS build
# run: flutter config --enable-macos-desktop
# - name: Build artifacts
# run: flutter build macos --release
# - name: Archive Release
# uses: thedoctor0/zip-release@master
# with:
# type: 'zip'
# filename: AtmospherePro-${{github.ref_name}}-macos.zip
# directory: build/macos/Build/Products/Release
# - name: macOS Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# files: build/macos/Build/Products/Release/AtmospherePro-${{github.ref_name}}-macos.zip

0 comments on commit 5d30798

Please sign in to comment.