diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a178585..e6143bb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,10 +70,11 @@ jobs: cargo binstall cargo-component --force --version ${{ env.CARGO_COMPONENT_VERSION }} cargo binstall wkg --force cargo binstall cargo-auditable cargo-audit - alias cargo="cargo auditable" - name: Build the component - run: cargo component build --release + run: | + alias cargo="cargo auditable" + cargo component build --release - name: Normalize COMPONENT_NAME and Append .wasm run: echo "COMPONENT_NAME_UNDERSCORED=${COMPONENT_NAME//-/_}.wasm" >> $GITHUB_ENV