From 7f4b9f1468edb024de3cd5833fd791a6c9167236 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Thu, 26 May 2022 15:16:16 +0200 Subject: [PATCH] Install espflash build system dependency for ubuntu --- .github/workflows/package.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9666fb8..873a94e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -19,6 +19,13 @@ jobs: runs-on: ${{ inputs.runs_on }} steps: + - name: Change apt mirror and install dependencies + if: ${{ inputs.runs_on == 'ubuntu-latest' }} + run: | + sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list + sudo apt-get update + sudo apt-get install musl-tools libudev-dev + - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1