From c5be49c915bc0c976d90908b6391dbadd6d48e7a Mon Sep 17 00:00:00 2001 From: Owen Nelson Date: Mon, 23 Dec 2024 16:08:17 -0800 Subject: [PATCH] WIP: more fussing with dis --- .github/workflows/release.yml | 4 ++++ dist-workspace.toml | 2 ++ svix-cli/Cargo.toml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1dffbcb38..a3382ab3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -125,6 +125,10 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH fi + - uses: swatinem/rust-cache@v2 + with: + key: ${{ join(matrix.targets, '-') }} + cache-provider: ${{ matrix.cache_provider }} - name: Install dist run: ${{ matrix.install_dist.run }} # Get the dist-manifest diff --git a/dist-workspace.toml b/dist-workspace.toml index 08047ad4e..405612658 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -15,3 +15,5 @@ targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-da install-path = "CARGO_HOME" # Whether to install an updater program install-updater = false +# Which actions to run on pull requests +pr-run-mode = "upload" diff --git a/svix-cli/Cargo.toml b/svix-cli/Cargo.toml index c288465e6..8726049af 100644 --- a/svix-cli/Cargo.toml +++ b/svix-cli/Cargo.toml @@ -8,6 +8,7 @@ keywords = ["svix", "webhooks", "diahook"] categories = ["development-tools", "asynchronous", "network-programming", "web-programming"] repository = "https://github.com/svix-onelson/svix-webhooks" authors = ["Svix Inc. "] +publish = false [package.metadata.wix] upgrade-guid = "E6EF2AC4-2BA1-4E36-BDD5-FEE972946181" @@ -15,6 +16,9 @@ path-guid = "09E262C8-4654-4160-A6A9-C03E92D3E575" license = false eula = false +[package.metadata.dist] +dist = true + [[bin]] name = "svix" path = "src/main.rs"