Skip to content

Commit

Permalink
cargo-dist troubleshoot (#15)
Browse files Browse the repository at this point in the history
* cargo-dist troubleshoot

* ci

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
manakjiri and mergify[bot] authored Sep 28, 2024
1 parent dcf03fe commit 1cda495
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:
pull_request:
push:
tags:
- "**[0-9]+.[0-9]+.[0-9]+*"
- '**[0-9]+.[0-9]+.[0-9]+*'

jobs:
# Run 'cargo dist plan' (or host) to determine what tasks we need to do
Expand Down Expand Up @@ -126,12 +126,9 @@ jobs:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
- name: Install libudev (linux)
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libudev-dev
# Only install on Ubuntu
if: (matrix.runner == 'ubuntu-latest') || (matrix.runner == 'ubuntu-20.04')
${{ matrix.packages_install }}
- name: Build artifacts
run: |
# Actually do builds and make zips and whatnot
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# Ignore out-of-date contents
allow-dirty = ["ci"]

[workspace.metadata.dist.dependencies.apt]
libudev-dev = '*'

0 comments on commit 1cda495

Please sign in to comment.