diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21742c0b..de80eb77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,10 +3,10 @@ name: Build on: [push, pull_request] env: - KALEIDOSCOPE_ETC_DIR: $(GITHUB_WORKSPACE)/etc - KALEIDOSCOPE_BUILDER_DIR: $(GITHUB_WORKSPACE)/bin - ARDUINO_DIRECTORIES_USER: $(GITHUB_WORKSPACE)/.arduino/user - BOARD_HARDWARE_PATH: $(ARDUINO_DIRECTORIES_USER)/hardware + KALEIDOSCOPE_ETC_DIR: ${{ github.workspace }}/etc + KALEIDOSCOPE_BUILDER_DIR: ${{ github.workspace }}/bin + ARDUINO_DIRECTORIES_USER: ${{ github.workspace }}/.arduino/user + BOARD_HARDWARE_PATH: ${{ github.workspace }}/.arduino/user/hardware jobs: smoke-sketches: runs-on: ubuntu-latest @@ -15,7 +15,7 @@ jobs: ## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in. ## This makes sure we're using the current version of the library. - - run: git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $ARDUINO_DIRECTORIES_USER/hardware/keyboardio + - run: git clone --depth 1 --recurse-submodules=build-tools --recurse-submodules=toolchain --recurse-submodules=avr/libraries/ --jobs 16 --shallow-submodules git://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio $ARDUINO_DIRECTORIES_USER}/hardware/keyboardio # - run: make adjust-git-timestamps - run: make install-arduino-cli - run: make configure-arduino-cli