From 74e58ef9d1adb6422a73409a0c308cfe692c7a56 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Fri, 30 Sep 2022 20:20:25 +0200 Subject: [PATCH] [ci] Add job to update windows deps #17 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e42faec..5896944 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,12 +40,12 @@ update_windows_deps: rules: - if: $CI_COMMIT_TAG when: never - - if: $CI_COMMIT_BRANCH == "main" - when: always - changes: - Pipfile - Pipfile.lock when: always + - if: $CI_COMMIT_BRANCH == "main" + when: always before_script: - Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" - choco install python --version=$PYTHON_VERSION -y --no-progress @@ -72,7 +72,7 @@ commit_windows_deps: - git remote rm origin && git remote add origin "git@gitlab.com:${CI_PROJECT_PATH}.git" script: - dos2unix Pipfile.lock - - git commit -m "Updated windows deps from CI" Pipfile.lock + - git commit -m "Updated windows deps from CI" Pipfile.lock || echo "No changes" - git push HEAD:$CI_COMMIT_REF_NAME package_linux: