Skip to content

Commit

Permalink
fix: remove windows from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Jun 4, 2023
1 parent 3e74193 commit cffa795
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
---
# This is a basic workflow to help you get started with Actions
name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request
# events but only for the main branch
push:
branches: [main]
paths-ignore:
- '**/README.md'
pull_request:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
Expand All @@ -22,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
Expand All @@ -48,11 +42,11 @@ jobs:
flutter create --platforms=linux .
flutter build linux
if: matrix.os == 'ubuntu-latest'
- name: Build (Windows)
run: |
flutter config --enable-windows-desktop
cd example
flutter create --platforms=windows .
flutter doctor
flutter build windows
if: matrix.os == 'windows-latest'
# - name: Build (Windows)
# run: |
# flutter config --enable-windows-desktop
# cd example
# flutter create --platforms=windows .
# flutter doctor
# flutter build windows
# if: matrix.os == 'windows-latest'

0 comments on commit cffa795

Please sign in to comment.