Skip to content

Commit

Permalink
⬆️ Bump cargo-dist version to 0.23.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Oct 16, 2024
1 parent 79b05b5 commit 0f17c6a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.22.1/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.23.0/cargo-dist-installer.sh | sh"
- name: Cache cargo-dist
uses: actions/upload-artifact@v4
with:
Expand Down
26 changes: 0 additions & 26 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,3 @@ logging = ["dep:simple_logger"]
[profile.dist]
inherits = "release"
lto = "thin"

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.22.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
# Which actions to run on pull requests
pr-run-mode = "upload"
# Whether to consider the binaries in a package for distribution (defaults true)
dist = true
# Where to host releases
hosting = "github"
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"


[workspace.metadata.dist.dependencies.apt]
libfuse3-dev = { stage = ["build", "run"], targets = ["x86_64-unknown-linux-gnu"] }
fuse3 = { stage = ["build", "run"], targets = ["x86_64-unknown-linux-gnu"] }
28 changes: 28 additions & 0 deletions dist-workspace.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[workspace]
members = ["cargo:."]

# Config for 'cargo dist'
[dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.23.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
# Which actions to run on pull requests
pr-run-mode = "upload"
# Whether to consider the binaries in a package for distribution (defaults true)
dist = true
# Where to host releases
hosting = "github"
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"


[dist.dependencies.apt]
libfuse3-dev = { stage = ["build", "run"], targets = ["x86_64-unknown-linux-gnu"] }
fuse3 = { stage = ["build", "run"], targets = ["x86_64-unknown-linux-gnu"] }

0 comments on commit 0f17c6a

Please sign in to comment.