From 07b4aa417192134c5d431a5d0bed2b75174d5ac6 Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Fri, 18 Aug 2023 00:04:03 +0200 Subject: [PATCH] ci: Fix the release script to Linux binaries after cargo-dist upgrade --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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!