From 20325dbc8755034860bc29298f76a78897aee7ba Mon Sep 17 00:00:00 2001 From: Ashley Williams Date: Fri, 8 Nov 2024 12:56:10 -0600 Subject: [PATCH] add updater and custom install location --- .github/workflows/release.yml | 2 +- dist-workspace.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fbe5db3..3e443cd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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.24.1/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.25.1/cargo-dist-installer.sh | sh" - name: Cache dist uses: actions/upload-artifact@v4 with: diff --git a/dist-workspace.toml b/dist-workspace.toml index 35204821..d9cd7e5f 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -4,7 +4,7 @@ members = ["cargo:."] # Config for 'dist' [dist] # The preferred dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.24.1" +cargo-dist-version = "0.25.1" # CI backends to support ci = "github" # The installers to generate for each app @@ -24,9 +24,9 @@ publish-jobs = ["homebrew", "npm", "./publish-crates"] # Which actions to run on pull requests pr-run-mode = "plan" # Whether to install an updater program -install-updater = false +install-updater = true # Path that installers should place binaries in -install-path = "CARGO_HOME" +install-path = "~/axo" [dist.github-custom-runners] aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"