Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Update build-and-release-snapshots.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dclipca authored Apr 11, 2024
1 parent ea2109e commit 0fae770
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build-and-release-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,21 @@ jobs:

- name: Install dependencies (Linux)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build
- name: Set up Flutter (Linux and Windows)
if: matrix.os != 'macos-latest'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true

- name: Manually Install Flutter (macOS)
if: matrix.os == 'macos-latest'
- name: Verify CMake and Ninja Installation (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
git clone https://github.com/flutter/flutter.git -b stable --depth 1 $HOME/flutter
echo "$HOME/flutter/bin" >> $GITHUB_PATH
export PATH="$HOME/flutter/bin:$PATH"
flutter doctor
cmake --version
ninja --version
- name: Build
run: ${{ matrix.build-command }}
Expand Down

0 comments on commit 0fae770

Please sign in to comment.