Skip to content

Commit 908554b

Browse files
committed
%PLATFORM%
1 parent 02d2800 commit 908554b

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

appveyor.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ build_script:
3434
ECHO make %MAKE_PARAMS% &&
3535
make %MAKE_PARAMS%
3636
)
37-
- if [%COMPILER%]==[gcc] if [%CONFIGURATION%]==[mingw64] (
38-
COPY programs\zstd.exe bin\zstd.exe &&
39-
appveyor PushArtifact bin\zstd.exe
37+
- if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw64] (
38+
COPY programs\zstd.exe zstd.exe &&
39+
appveyor PushArtifact zstd.exe
4040
)
41-
- if [%COMPILER%]==[gcc] if [%CONFIGURATION%]==[mingw32] (
42-
COPY programs\zstd.exe bin\zstd32.exe &&
43-
appveyor PushArtifact bin\zstd32.exe
41+
- if [%COMPILER%]==[gcc] if [%PLATFORM%]==[mingw32] (
42+
COPY programs\zstd.exe zstd32.exe &&
43+
appveyor PushArtifact zstd32.exe
4444
)
4545
- if [%COMPILER%]==[gcc] make clean
4646
- if [%COMPILER%]==[visual] (
@@ -111,27 +111,25 @@ test_script:
111111
)
112112

113113
artifacts:
114-
- path: bin\zstd.exe
115-
- path: bin\zstd32.exe
114+
- path: zstd.exe
115+
- path: zstd32.exe
116116

117117
deploy:
118118
- provider: GitHub
119119
auth_token:
120120
secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4
121-
artifact: bin\zstd.exe
121+
artifact: zstd.exe
122122
force_update: true
123123
on:
124-
branch: artifacts
125124
COMPILER: gcc
126125
PLATFORM: "mingw64"
127126
appveyor_repo_tag: false
128127
- provider: GitHub
129128
auth_token:
130129
secure: LgJo8emYc3sFnlNWkGl4/VYK3nk/8+RagcsqDlAi3xeqNGNutnKjcftjg84uJoT4
131-
artifact: bin\zstd32.exe
130+
artifact: zstd32.exe
132131
force_update: true
133132
on:
134-
branch: artifacts
135133
COMPILER: gcc
136134
PLATFORM: "mingw32"
137135
appveyor_repo_tag: false

0 commit comments

Comments
 (0)