[ci] Publish windows builds to releases/packages
This commit is contained in:
parent
a1bcc0bb21
commit
c03a268fe7
@ -51,6 +51,9 @@ package_windows:
|
||||
- shared-windows
|
||||
- windows
|
||||
- windows-1809
|
||||
# takes forever, so only run if it is worthwhile
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
before_script:
|
||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||
- C:\\Python310\\python.exe --version
|
||||
@ -72,6 +75,8 @@ upload:
|
||||
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/${WINDOWS_AMD64_BINARY}.exe" "${PACKAGE_REGISTRY_URL}/${WINDOWS_AMD64_BINARY}.exe"
|
||||
|
||||
release_job:
|
||||
stage: release
|
||||
@ -90,3 +95,7 @@ release_job:
|
||||
url: "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||
filepath: "/bin/fime_linux_amd64"
|
||||
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