Skip to content

Commit

Permalink
Install cargo-auditable in the correct location.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Nov 5, 2024
1 parent ed53ab2 commit 5fa1c10
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cargo-dist/templates/ci/github/release.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 5fa1c10

Please sign in to comment.