Skip to content

Commit 8f4d0c6

Browse files
committed
move alias to build step
1 parent 594884e commit 8f4d0c6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ jobs:
7070
cargo binstall cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }}
7171
cargo binstall wkg --force
7272
cargo binstall cargo-auditable cargo-audit
73-
alias cargo="cargo auditable"
7473
7574
- name: Build the component
76-
run: cargo component build --release
75+
run: |
76+
alias cargo="cargo auditable"
77+
cargo component build --release
7778
7879
- name: Normalize COMPONENT_NAME and Append .wasm
7980
run: echo "COMPONENT_NAME_UNDERSCORED=${COMPONENT_NAME//-/_}.wasm" >> $GITHUB_ENV

0 commit comments

Comments
 (0)