Skip to content

Commit 69663d1

Browse files
committed
use --package inside cd in the cross action
1 parent 32029ac commit 69663d1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/actions/cross-tests/action.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ runs:
2828
tar -C /tmp -xzf /tmp/binaries.tar.gz
2929
mv /tmp/cross ~/.cargo/bin
3030
shell: bash
31-
- run: |
32-
cd ${{ inputs.package }}
33-
cross test --target ${{ inputs.target }} --no-default-features \
34-
--features ${{ inputs.features }}
31+
- run: cross test \
32+
--package ${{ inputs.package }} \
33+
--target ${{ inputs.target }} \
34+
--no-default-features \
35+
--features ${{ inputs.features }}
3536
shell: bash

0 commit comments

Comments
 (0)