Skip to content

Commit

Permalink
Update dart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnetwork authored Jun 25, 2024
1 parent 3ac2bd5 commit 1a969d5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
run: powershell -Command "Expand-Archive -Path 'flutter.zip' -DestinationPath 'flutter_sdk'"

- name: Add Flutter to PATH
run: |
echo "${{ github.workspace }}\\flutter_sdk\\flutter\\bin" >> $GITHUB_PATH
echo "${{ github.workspace }}\\flutter_sdk\\flutter\\bin\\cache\\dart-sdk\\bin" >> $GITHUB_PATH
run: echo "${{ github.workspace }}\\flutter_sdk\\flutter\\bin" >> $GITHUB_PATH

- name: Set PATH environment variable
env:
PATH: ${{ github.workspace }}\\flutter_sdk\\flutter\\bin:${{ github.workspace }}\\flutter_sdk\\flutter\\bin\\cache\\dart-sdk\\bin:$PATH

- name: Verify Flutter installation
run: flutter --version
Expand Down

0 comments on commit 1a969d5

Please sign in to comment.