Skip to content

Commit 57536cf

Browse files
committed
More github actions updates
1 parent ef63f88 commit 57536cf

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ jobs:
113113
- name: Install Rust (macos)
114114
run: |
115115
curl https://sh.rustup.rs | sh -s -- -y
116-
echo "##[add-path]$HOME/.cargo/bin"
116+
echo ::add-path::$HOME/.cargo/bin
117117
if: matrix.os == 'macos-latest'
118118
- run: rustup target add ${{ matrix.target }}
119119
- name: Set crt-static
120120
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
122122
shell: bash
123123
- name: Use strawberry perl
124124
if: startsWith(matrix.os, 'windows')
125-
run: echo "##[add-path]C:/Strawberry/perl/bin"
125+
run: echo ::add-path::C:/Strawberry/perl/bin
126126
shell: bash
127127
- run: |
128128
set -e
@@ -131,13 +131,12 @@ jobs:
131131
if: "!startsWith(matrix.os, 'windows')"
132132
name: Run tests (not Windows)
133133
- run: |
134-
set -e
135134
cargo test --manifest-path testcrate/Cargo.toml --target ${{ matrix.target }}
136135
cargo test --manifest-path testcrate/Cargo.toml --target ${{ matrix.target }} --release
137136
cargo run --release --target ${{ matrix.target }} --manifest-path testcrate/Cargo.toml --features package
138137
if: startsWith(matrix.os, 'windows')
139138
name: Run tests (Windows)
140-
shell: bash
139+
shell: cmd
141140
142141
rustfmt:
143142
name: Rustfmt

0 commit comments

Comments
 (0)