Skip to content

Commit

Permalink
CI: update PATH setup to use environment files
Browse files Browse the repository at this point in the history
  • Loading branch information
fridtjof committed Oct 6, 2020
1 parent ececbcb commit 9e1a5d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- name: Install toolchain dependencies
run: sudo apt install -y libgmp-dev libmpfr-dev libmpc-dev

# ndless-sdk
# build the toolchain first
# it takes ~40min to build, so we want to avoid that whenever possible!
- uses: actions/cache@v2
Expand All @@ -40,11 +41,11 @@ jobs:
working-directory: ndless-sdk/toolchain
run: ./build_toolchain.sh

# actual build starts here
# ndless
- name: Set up PATH
run: |
echo "::add-path::$GITHUB_WORKSPACE/ndless-sdk/toolchain/install/bin"
echo "::add-path::$GITHUB_WORKSPACE/ndless-sdk/bin"
echo "$GITHUB_WORKSPACE/ndless-sdk/toolchain/install/bin" >> $GITHUB_PATH
echo "$GITHUB_WORKSPACE/ndless-sdk/bin" >> $GITHUB_PATH
- name: Install dependencies
run: sudo apt install -y libboost-program-options-dev
- name: Build
Expand Down

0 comments on commit 9e1a5d0

Please sign in to comment.