Skip to content

Commit

Permalink
ci: Fix the release script to Linux binaries after cargo-dist upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
frol committed Aug 17, 2023
1 parent 3cdefa2 commit 07b4aa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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!
Expand Down

0 comments on commit 07b4aa4

Please sign in to comment.