diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba8a038..5eb0646 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,6 +109,15 @@ jobs: with: targets: ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 + with: + # REQUIRED. Without `workspaces:` this action looks for ONE Cargo workspace at the + # checkout root, and nothing is checked out there: every checkout above uses `path:`. + # It logged "could not find Cargo.toml" and carried on WITHOUT failing, so this job + # rebuilt everything from scratch on every run while the log said the cache step + # succeeded. Each workspace this job actually builds must be named. + workspaces: | + store-postgres + busbarAI - name: Build the store-postgres plugin cdylib working-directory: store-postgres