Update c-cpp.yml

This commit is contained in:
Peter Buchegger 2020-06-15 03:33:14 +02:00 committed by GitHub
parent 0b66e5bfd9
commit 725e4ca7b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,13 @@ jobs:
steps:
- run: sudo apt-get install python3-setuptools python3-wheel
- run: pip3 -v install platformio
- run: echo "::add-path::~/.local/bin"
- uses: actions/checkout@v2
- run: PATH="~/.local/bin:$PATH" pio run
- run: PLATFORMIO_BUILD_CACHE_DIR="build_cache/" pio run
- uses: actions/upload-artifact@v1
with:
name: build_cache
path: build_cache
build:
runs-on: self-hosted