[ci] Publish windows builds to releases/packages
This commit is contained in:
parent
a1bcc0bb21
commit
c03a268fe7
@ -51,6 +51,9 @@ package_windows:
|
|||||||
- shared-windows
|
- shared-windows
|
||||||
- windows
|
- windows
|
||||||
- windows-1809
|
- windows-1809
|
||||||
|
# takes forever, so only run if it is worthwhile
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
before_script:
|
before_script:
|
||||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||||
- C:\\Python310\\python.exe --version
|
- C:\\Python310\\python.exe --version
|
||||||
@ -72,6 +75,8 @@ upload:
|
|||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${LINUX_AMD64_BINARY}" "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${LINUX_AMD64_BINARY}" "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||||
|
- |
|
||||||
|
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${WINDOWS_AMD64_BINARY}.exe" "${PACKAGE_REGISTRY_URL}/${WINDOWS_AMD64_BINARY}.exe"
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
stage: release
|
stage: release
|
||||||
@ -90,3 +95,7 @@ release_job:
|
|||||||
url: "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
url: "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||||
filepath: "/bin/fime_linux_amd64"
|
filepath: "/bin/fime_linux_amd64"
|
||||||
link_type: package
|
link_type: package
|
||||||
|
- name: "${WINDOWS_AMD64_BINARY}.exe"
|
||||||
|
url: "${PACKAGE_REGISTRY_URL}/${WINDOWS_AMD64_BINARY}.exe"
|
||||||
|
filepath: "/bin/fime_windows_amd64.exe"
|
||||||
|
link_type: package
|
||||||
|
Loading…
Reference in New Issue
Block a user