Update main2.yml

This commit is contained in:
Lee Lup Yuen 2020-07-28 14:51:26 +08:00 committed by GitHub
parent 9b0292a723
commit fdb493bb9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 1 deletions

View File

@ -26,8 +26,33 @@ jobs:
steps: steps:
- name: Install adafruit-nrfutil
uses: BSFishy/pip-action@v1
with:
# The packages to install from Pip
packages: adafruit-nrfutil
# A requirements file to install from
# requirements: # optional, default is
# A constraints file to use
# constraints: # optional, default is
# Don't install package dependencies
# no-deps: # optional, default is false
# Include prerelease and development versions
# pre: # optional, default is false
# Install a project in editable mode
# editable: # optional, default is
# Only use wheels compatible with a specific platform
# platform: # optional, default is
# Upgrade all specified packages to the newest available version
# upgrade: # optional, default is false
# Extra inputs to pass to pip
# extra: # optional, default is
- name: Install adafruit-nrfutil and imgtool dependencies - name: Install adafruit-nrfutil and imgtool dependencies
run: pip3 install --user wheel && pip3 install --user setuptools && pip3 install --user adafruit-nrfutil && adafruit-nrfutil --help run: adafruit-nrfutil --help
#- name: Install adafruit-nrfutil and imgtool dependencies
# run: pip3 install --user wheel && pip3 install --user setuptools && pip3 install --user adafruit-nrfutil && adafruit-nrfutil --help
######################################################################################### #########################################################################################
# Download and Cache Dependencies # Download and Cache Dependencies