File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -113,16 +113,16 @@ jobs:
113
113
- name : Install Rust (macos)
114
114
run : |
115
115
curl https://sh.rustup.rs | sh -s -- -y
116
- echo "##[ add-path] $HOME/.cargo/bin"
116
+ echo :: add-path:: $HOME/.cargo/bin
117
117
if : matrix.os == 'macos-latest'
118
118
- run : rustup target add ${{ matrix.target }}
119
119
- name : Set crt-static
120
120
if : matrix.crt_static == 'yes'
121
- run : echo "##[ set-env name=RUSTFLAGS] -Ctarget-feature=+crt-static"
121
+ run : echo :: set-env name=RUSTFLAGS:: -Ctarget-feature=+crt-static
122
122
shell : bash
123
123
- name : Use strawberry perl
124
124
if : startsWith(matrix.os, 'windows')
125
- run : echo "##[ add-path] C:/Strawberry/perl/bin"
125
+ run : echo :: add-path:: C:/Strawberry/perl/bin
126
126
shell : bash
127
127
- run : |
128
128
set -e
@@ -131,13 +131,12 @@ jobs:
131
131
if: "!startsWith(matrix.os, 'windows')"
132
132
name: Run tests (not Windows)
133
133
- run : |
134
- set -e
135
134
cargo test --manifest-path testcrate/Cargo.toml --target ${{ matrix.target }}
136
135
cargo test --manifest-path testcrate/Cargo.toml --target ${{ matrix.target }} --release
137
136
cargo run --release --target ${{ matrix.target }} --manifest-path testcrate/Cargo.toml --features package
138
137
if: startsWith(matrix.os, 'windows')
139
138
name: Run tests (Windows)
140
- shell: bash
139
+ shell: cmd
141
140
142
141
rustfmt :
143
142
name : Rustfmt
You can’t perform that action at this time.
0 commit comments