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