Skip to content

Commit

Permalink
ci: try fixing path via GITHUB_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Apr 12, 2024
1 parent 7155810 commit b0f5b23
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/flutter-gen-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,19 @@ jobs:
cd build-release
ninja && ninja install
- name: debugging
- name: fix path
run: |
ls -lh /usr/bin/clang-format-15
echo ${{ github.workspace }}/dartagnan/installed/bin/ >> $GITHUB_PATH
cat $GITHUB_PATH
echo $PATH
- name: Refresh bindings
run: |
echo $PATH
cd src/flutter
dart pub get
dart refresh_bindings.dart
git status
git checkout generated/KDDockWidgetsBindings/dart/lib/LibraryLoader.dart
env:
PATH: ${{ github.workspace }}/dartagnan/installed/bin/:${{ env.PATH }}
DARTAGNAN_CLANG_FORMAT: /usr/bin/clang-format-15
DARTAGNAN_CLANG_FORMAT: /usr/bin/clang-format

0 comments on commit b0f5b23

Please sign in to comment.