diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae909e1..34e36c2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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