[ci] Add job to update windows deps #18
This commit is contained in:
parent
74e58ef9d1
commit
710084db73
@ -40,12 +40,11 @@ update_windows_deps:
|
|||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
when: never
|
when: never
|
||||||
- changes:
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
|
changes:
|
||||||
- Pipfile
|
- Pipfile
|
||||||
- Pipfile.lock
|
- Pipfile.lock
|
||||||
when: always
|
when: always
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
when: always
|
|
||||||
before_script:
|
before_script:
|
||||||
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
- Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
|
||||||
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||||
@ -73,7 +72,7 @@ commit_windows_deps:
|
|||||||
script:
|
script:
|
||||||
- dos2unix Pipfile.lock
|
- dos2unix Pipfile.lock
|
||||||
- git commit -m "Updated windows deps from CI" Pipfile.lock || echo "No changes"
|
- git commit -m "Updated windows deps from CI" Pipfile.lock || echo "No changes"
|
||||||
- git push HEAD:$CI_COMMIT_REF_NAME
|
- git push origin HEAD:$CI_COMMIT_REF_NAME
|
||||||
|
|
||||||
package_linux:
|
package_linux:
|
||||||
needs:
|
needs:
|
||||||
|
Loading…
Reference in New Issue
Block a user