add dart bin to path

This commit is contained in:
Alif Rachmawadi
2022-01-06 08:45:45 +00:00
parent 84b5c35087
commit 23835ee500
2 changed files with 5 additions and 1 deletions

View File

@@ -14,9 +14,12 @@ jobs:
- uses: ./ - uses: ./
with: with:
channel: ${{ matrix.channel }} channel: ${{ matrix.channel }}
- name: Run FLUTTER_ROOT - name: Print FLUTTER_ROOT
shell: bash shell: bash
run: echo "FLUTTER_ROOT set to $FLUTTER_ROOT" run: echo "FLUTTER_ROOT set to $FLUTTER_ROOT"
- name: Run dart --version
shell: bash
run: dart --version
- name: Run flutter --version - name: Run flutter --version
shell: bash shell: bash
run: flutter --version run: flutter --version

View File

@@ -84,3 +84,4 @@ fi
echo "FLUTTER_ROOT=${FLUTTER_ROOT}" >>$GITHUB_ENV echo "FLUTTER_ROOT=${FLUTTER_ROOT}" >>$GITHUB_ENV
echo "${FLUTTER_ROOT}/bin" >>$GITHUB_PATH echo "${FLUTTER_ROOT}/bin" >>$GITHUB_PATH
echo "${FLUTTER_ROOT}/bin/cache/dart-sdk/bin" >>$GITHUB_PATH