ci use github ::add-path::

This commit is contained in:
hathach 2019-12-28 16:11:10 +07:00
parent bfdc9a94f9
commit 1bcf121785
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 1 additions and 7 deletions

View File

@ -28,8 +28,6 @@ jobs:
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.5
- name: Setup Node.js
uses: actions/setup-node@v1.1.0
@ -39,12 +37,8 @@ jobs:
npm install --global xpm
xpm install --global @xpack-dev-tools/arm-none-eabi-gcc@latest
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
echo "::add-path::/thach_tinyusb/"
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin`"
echo "::add-path::$HOME/opt/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/*/.content/bin"
#echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`"
- name: test PATH
run: echo $PATH
echo "::add-path::`echo $HOME/opt/xPacks/@xpack-dev-tools/riscv-none-embed-gcc/*/.content/bin`"
- name: Checkout TinyUSB
uses: actions/checkout@v2