Commit dc9d248a authored by Henderson, Shane's avatar Henderson, Shane
Browse files

Fix curl/Invoke-RestMethod

parent 3375ae6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ build_windows:
    - ctest --build-config RELEASE --test-dir build
    - cmake --install build --prefix install
    - tar -czvf windows_x86.tar.gz ./install
    - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file windows_x86.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/my_package/0.0.1/windows_x86.tar.gz"'
    - Invoke-RestMethod -Headers @{ "JOB-TOKEN"="$CI_JOB_TOKEN" } -InFile windows_x86.tar.gz -uri "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/my_package/0.0.1/windows_x86.tar.gz" -Method put
  artifacts:
    name: windows_wheel
    expire_in: 1 week