Updated workflow
This commit is contained in:
1 parent
1f961062ac
commit
4d57a9e12f
2 files changed
+16
No files matched your search
@@ -1,6 +1,7 @@
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- deploy
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@@ -27,3 +28,16 @@ test:
|
||||
paths:
|
||||
- target/
|
||||
- ~/.cargo/
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: rust:1.85
|
||||
script:
|
||||
- echo "Printing environment"
|
||||
- env
|
||||
- cargo login "$CARGO_LOGIN_TOKEN"
|
||||
- cargo publish
|
||||
dependencies:
|
||||
- build
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
Reference in new issue
Block a user