diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index f8468433..380730df 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -76,7 +76,7 @@ jobs: run: | Invoke-WebRequest -Uri "http://gittup.org/tup/win32/tup-latest.zip" -OutFile ".\tup-latest.zip" Expand-Archive ".\tup-latest.zip" -DestinationPath ".\tup-latest" -Force - echo "::add-path::$(Resolve-Path .)\tup-latest" + echo "$(Resolve-Path .)\tup-latest" >> $GITHUB_PATH choco install gcc-arm-embedded # downloads https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-win32.zip diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 8769d92d..42951d0f 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -16,7 +16,11 @@ jobs: steps: - name: Install odrivetool run: | - pip3 install monotonic # TODO: this is dishonest. Must be removed as soon as v0.5.0 is published! + # TODO: this is a workaround for https://github.com/pypa/setuptools/issues/2353 and we + # can remove it as soon as python3-setuptools on GitHub's ubuntu-latest + # moves to version 50.1+. + pip3 list | grep setuptools # show version + export SETUPTOOLS_USE_DISTUTILS=stdlib pip3 install odrive # This one currently fails because Github Actions runs pip as non-root @@ -27,7 +31,7 @@ jobs: # This step is mentioned in the user guide - name: Add ~/.local/bin to path if: matrix.os == 'ubuntu-latest' - run: echo "::add-path::~/.local/bin" + run: echo "~/.local/bin" >> $GITHUB_PATH - name: Launch odrivetool # This returns a non-zero exit code if the odrivetool throws an exception