Updated workflow

This commit is contained in:
KD
2025-03-09 19:20:41 +00:00
parent 1f961062ac
commit 4d57a9e12f
2 changed files with 16 additions and 0 deletions

View File

@@ -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'

View File

@@ -1,5 +1,7 @@
[package]
name = "icarus-models"
description = "models used for the icarus project"
license = "MIT"
version = "0.1.0"
edition = "2024"