mirror of
https://github.com/subosito/flutter-action.git
synced 2024-08-16 10:19:50 +02:00
add dart bin to path
This commit is contained in:
parent
84b5c35087
commit
23835ee500
2 changed files with 5 additions and 1 deletions
5
.github/workflows/workflow.yml
vendored
5
.github/workflows/workflow.yml
vendored
|
@ -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
|
||||||
|
|
1
setup.sh
1
setup.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue