Skip to content

Commit

Permalink
Attempt to fix Flutter CI
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Oct 10, 2024
1 parent 04a046d commit 2ef6c60
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ jobs:
dart test
test_flutter:
runs-on: ubuntu-latest
needs: [setup]
strategy:
matrix:
# We want to support the two latest stable Flutter versions
Expand All @@ -299,6 +300,22 @@ jobs:
shell: bash
- name: Install dependencies in drift/example/app
run: melos bootstrap --scope app

- name: Download sqlite3
uses: actions/download-artifact@v4
with:
name: sqlite3
path: drift/.dart_tool/sqlite3/
- name: Use downloaded sqlite3
shell: bash
run: |
chmod a+x drift/.dart_tool/sqlite3/latest/sqlite3
echo $(realpath drift/.dart_tool/sqlite3/latest) >> $GITHUB_PATH
echo "LD_LIBRARY_PATH=$(realpath drift/.dart_tool/sqlite3/latest)" >> $GITHUB_ENV
- name: Check sqlite3 version
run: sqlite3 --version
shell: bash

- name: Generate code
run: dart run build_runner build --delete-conflicting-outputs
working-directory: examples/app
Expand Down

0 comments on commit 2ef6c60

Please sign in to comment.