Replace workflow add-path commands with echo to env file
This commit is contained in:
parent
598eb34ad5
commit
e96fd0f8af
2 changed files with 9 additions and 9 deletions
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
run:
|
run:
|
||||||
|
|
|
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
echo "::add-path::~/.local/bin"
|
echo "~/.local/bin" >> $GITHUB_PATH
|
||||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
|
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
|
||||||
|
|
||||||
- name: Install platform
|
- name: Install platform
|
||||||
|
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
run:
|
run:
|
||||||
|
|
|
|
||||||
mkdir -p ~/.local/bin
|
mkdir -p ~/.local/bin
|
||||||
echo "::add-path::~/.local/bin"
|
echo "~/.local/bin" >> $GITHUB_PATH
|
||||||
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
|
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
|
||||||
|
|
||||||
- name: Get platform name
|
- name: Get platform name
|
||||||
|
@ -90,7 +90,7 @@ jobs:
|
||||||
sudo apt-get install -y python3 python3-pip python3-setuptools
|
sudo apt-get install -y python3 python3-pip python3-setuptools
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
pip3 install --user adafruit-nrfutil
|
pip3 install --user adafruit-nrfutil
|
||||||
echo "::add-path::/home/runner/.local/bin"
|
echo "/home/runner/.local/bin" >> $GITHUB_PATH
|
||||||
echo "::set-output name=options:::softdevice=s132v6,debug=l0"
|
echo "::set-output name=options:::softdevice=s132v6,debug=l0"
|
||||||
echo "::set-output name=index-url::--additional-urls https://www.adafruit.com/package_adafruit_index.json"
|
echo "::set-output name=index-url::--additional-urls https://www.adafruit.com/package_adafruit_index.json"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue