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 f76290e commit 44da56a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Navigate to project directory
run: cd mrt_wallet

- name: Set Flutter directory
run: echo "FLUTTER_ROOT=flutter_sdk" >> $GITHUB_ENV

- name: Download and set up Flutter
run: |
curl -L -o flutter.zip https://storage.googleapis.com/flutter_infra_release/releases/stable/windows/flutter_windows_3.3.8-stable.zip
Expand-Archive -Path flutter.zip -DestinationPath ${{ env.FLUTTER_ROOT }}
echo "${{ env.FLUTTER_ROOT }}\flutter\bin" >> $GITHUB_PATH
mkdir -p ${{ env.FLUTTER_ROOT }}
powershell -Command "Expand-Archive -Path flutter.zip -DestinationPath ${{ env.FLUTTER_ROOT }}"
echo "${{ env.FLUTTER_ROOT }}\\flutter\\bin" >> $GITHUB_PATH
- name: Install dependencies
run: flutter pub get
Expand Down

0 comments on commit 44da56a

Please sign in to comment.