Updated CI
This commit is contained in:
parent
db38d46fb3
commit
ada7676ef9
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@ before_script:
|
||||||
- cd .. && rm -rf ncc
|
- cd .. && rm -rf ncc
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- ncc build --config release --log-level debug
|
- ncc build --config release --log-level debug
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -36,6 +37,8 @@ release:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- ncc build --config release --log-level debug
|
- ncc build --config release --log-level debug
|
||||||
|
- >
|
||||||
|
curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/release/net.nosial.tgbotlib.ncc "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/net.nosial.tgbotlib/$CI_COMMIT_REF_NAME/net.nosial.tgbotlib.ncc"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/
|
- build/
|
||||||
|
|
Loading…
Add table
Reference in a new issue