Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit e55dd7a

Browse files
committed
Fixed 'AppVeyor' artifacts section to produce correct artifacts.
Updated secure 'GitHub Releases' auth token.
1 parent d016370 commit e55dd7a

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

appveyor.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ install:
1212
- ps: wget "$env:ARDUINO_SDK_URI" -O "$env:ARDUINO_SDK_FILE"
1313
- ps: unzip "$env:ARDUINO_SDK_FILE" -d "arduino-sdk"
1414
- ps: $env:ARDUINO_SDK_PATH = "$pwd\arduino-sdk\arduino-$env:ARDUINO_SDK_VERSION"
15-
# FIXME: Windows path separators (\) need to be changed to "/" for cmake to properly handle it
1615
- ps: $env:ARDUINO_SDK_PATH = ($env:ARDUINO_SDK_PATH -replace "\\","/")
1716
before_build:
1817
- ps: Copy-Item -Path $env:MINGW_PATH\mingw32-make.exe -Destination $env:MINGW_PATH\make.exe
@@ -27,24 +26,20 @@ build_script:
2726
-D CMAKE_TOOLCHAIN_FILE="..\cmake\Arduino-Toolchain.cmake"
2827
-D CMAKE_SH="CMAKE_SH-NOTFOUND"
2928
--no-warn-unused-cli
30-
..\examples 3>&1
31-
- ps: |
32-
make.exe 2>&1 3>&1
33-
if ($LastExitCode -eq 0)
34-
{
35-
$host.SetShouldExit(0)
36-
}
37-
after_build:
38-
- 7z a arduino-cmake-ng.zip %APPVEYOR_BUILD_FOLDER%\cmake
29+
..\examples
30+
- ps: if ($LastExitCode -eq 0) { $host.SetShouldExit(0) }
31+
- ps: make.exe 2>&1 3>&1
32+
- ps: if ($LastExitCode -eq 0) { $host.SetShouldExit(0) }
3933
artifacts:
40-
- path: arduino-cmake-ng.zip
41-
name: Arduino-CMake-NG
34+
- path: cmake
35+
name: CMake-Framework
36+
type: zip
4237
deploy:
4338
- provider: GitHub
4439
description: 'ToDo'
45-
artifact: arduino-cmake-ng.zip
40+
artifact: CMake-Framework
4641
auth_token:
47-
secure: nTRyL3xmSCBVKQPd1wf/VoUSRIATFVSSCSlKm52esfQ=
42+
secure: rjEnIYWjd3X0jhsAbVKgIOJNpjPY0dBJvvHD3wNB+PbR/F7FvlWlsiwaiQ4EmLBV
4843
draft: true
4944
on:
5045
branch: master

0 commit comments

Comments
 (0)