diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 814975079..e6d037840 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,9 +58,6 @@ jobs: submodules: recursive - name: Install cargo-dist run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.1.0/cargo-dist-installer.sh | sh" - - name: Install packages (Linux) - if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install --assume-yes libudev-dev - id: create-release run: | cargo dist plan --tag=${{ github.ref_name }} --output-format=json > dist-manifest.json @@ -117,6 +114,9 @@ jobs: submodules: recursive - name: Install cargo-dist run: ${{ matrix.install-dist }} + - name: Install packages (Linux) + if: runner.os == 'Linux' + run: sudo apt-get update && sudo apt-get install --assume-yes libudev-dev - name: Run cargo-dist # This logic is a bit janky because it's trying to be a polyglot between # powershell and bash since this will run on windows, macos, and linux!