diff --git a/.github/workflows/elastic-ci.yml b/.github/workflows/elastic-ci.yml index 774b522d..73c30dc4 100644 --- a/.github/workflows/elastic-ci.yml +++ b/.github/workflows/elastic-ci.yml @@ -13,12 +13,12 @@ on: workflow_dispatch: env: - FLUTTER_VERSION: 3.22.0 + FLUTTER_VERSION: 3.22.3 jobs: formatting-analysis: name: "Check Formatting & Analyze" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repo @@ -47,7 +47,7 @@ jobs: run: flutter analyze --no-fatal-infos --no-fatal-warnings test: name: "Run Tests" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repo @@ -86,12 +86,10 @@ jobs: build-option: "macos" artifact-path: "build/macos/Build/Products/Release/Elastic-macOS.zip" artifact-name: Elastic-macOS - executable-type: portable - - os: ubuntu-latest + - os: ubuntu-22.04 build-option: "linux" artifact-path: "build/linux/x64/release/bundle" artifact-name: Elastic-Linux - executable-type: portable name: "Build - ${{ matrix.artifact-name }}" needs: [formatting-analysis, test] @@ -101,11 +99,11 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Install flutter dependencies + - name: Install flutter build dependencies if: ${{ matrix.build-option == 'linux' }} run: | sudo apt-get update -y - sudo apt-get install -y ninja-build libgtk-3-dev + sudo apt-get install -y libglu1-mesa ninja-build libgtk-3-dev liblzma-dev - name: Setup flutter uses: subosito/flutter-action@v2 @@ -158,4 +156,4 @@ jobs: with: name: ${{ matrix.artifact-name }}_installer path: "build/windows/x64/installer" - if-no-files-found: error \ No newline at end of file + if-no-files-found: error