Skip to content

Commit 3da1041

Browse files
committed
ci: Fix working directory switching
1 parent 3f2bffc commit 3da1041

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ "master" ]
66
pull_request:
77
branches: [ "master" ]
8+
workflow_dispatch:
89

910
env:
1011
CARGO_TERM_COLOR: always
@@ -49,5 +50,7 @@ jobs:
4950
run: nix profile install nixpkgs#devenv
5051

5152
- name: Build
52-
working-directory: examples/yolo-cli
53-
run: devenv shell cargo build --verbose
53+
shell: devenv shell bash -- -e {0}
54+
run: |
55+
cd examples/yolo-cli
56+
cargo build --verbose

0 commit comments

Comments
 (0)