From 5fa1c107a604f38a0d104ab67c74196e4452e5d9 Mon Sep 17 00:00:00 2001 From: Ellen Marie Dash Date: Tue, 5 Nov 2024 16:24:04 -0500 Subject: [PATCH] Install cargo-auditable in the correct location. --- cargo-dist/templates/ci/github/release.yml.j2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cargo-dist/templates/ci/github/release.yml.j2 b/cargo-dist/templates/ci/github/release.yml.j2 index 443c01435..d3d795afe 100644 --- a/cargo-dist/templates/ci/github/release.yml.j2 +++ b/cargo-dist/templates/ci/github/release.yml.j2 @@ -133,13 +133,6 @@ jobs: with: name: cargo-dist-cache path: ~/.cargo/bin/dist - {{%- if need_cargo_auditable %}} - - name: Install cargo-auditable - # we specify bash to get pipefail; it guards against the `curl` command - # failing. otherwise `sh` won't catch that `curl` return non-0 - run: {{{ install_cargo_auditable_sh }}} - shell: bash - {{%- endif %}} # sure would be cool if github gave us proper conditionals... # so here's a doubly-nested ternary-via-truthiness to try to provide the best possible # functionality based on whether this is a pull_request, and whether it's from a fork. @@ -299,6 +292,13 @@ jobs: pattern: artifacts-* path: target/distrib/ merge-multiple: true + {{%- if need_cargo_auditable %}} + - name: Install cargo-auditable + # we specify bash to get pipefail; it guards against the `curl` command + # failing. otherwise `sh` won't catch that `curl` return non-0 + run: {{{ matrix.install_cargo_auditable }}} + shell: bash + {{%- endif %}} - name: Install dependencies run: | ${{ matrix.packages_install }}