Skip to content

Commit 06cb829

Browse files
committed
Try another way of building only tags and PRs on appveyor
1 parent 64fa721 commit 06cb829

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
build: false
22
install:
3+
# Terminate early unless building either a tag or a PR.
4+
- if not defined APPVEYOR_REPO_TAG if not defined APPVEYOR_PULL_REQUEST_NUMBER appveyor exit
5+
36
# Install rust
47
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
58
- IF "%PLATFORM%" == "x86" rustup-init -y --default-toolchain stable --default-host i686-pc-windows-msvc

0 commit comments

Comments
 (0)