Skip to content

Commit 00ae7da

Browse files
feat: switch to pr run mode plan only for pr
Required to allow different versions inside the monorepo
1 parent 27f9524 commit 00ae7da

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ jobs:
128128
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
129129
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
130130
fi
131-
- uses: swatinem/rust-cache@v2
132-
with:
133-
key: ${{ join(matrix.targets, '-') }}
134-
cache-provider: ${{ matrix.cache_provider }}
135131
- name: Install dist
136132
run: ${{ matrix.install_dist.run }}
137133
# Get the dist-manifest

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ strip = true
111111
[package.metadata.dist]
112112
targets = ["aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"]
113113

114-
# Config for 'dist' for all crates in the workspace
114+
# Config for 'dist'
115115
[workspace.metadata.dist]
116116
# Whether to consider the binaries in a package for distribution (defaults true)
117117
dist = true
@@ -124,13 +124,14 @@ installers = ["shell"]
124124
# The archive format to use for non-windows builds (defaults .tar.xz)
125125
unix-archive = ".tar.gz"
126126
# Which actions to run on pull requests
127-
pr-run-mode = "upload"
127+
pr-run-mode = "plan"
128128
# Post-announce jobs to run in CI
129129
post-announce-jobs = ["./bump-action"]
130130
# Path that installers should place binaries in
131131
install-path = "CARGO_HOME"
132132
# Whether to install an updater program
133133
install-updater = false
134+
# Build only the required packages, and individually
134135
precise-builds = true
135136

136137
[workspace.metadata.dist.github-custom-runners]

0 commit comments

Comments
 (0)