fix of the workflow
This commit is contained in:
parent
e4d27e27f5
commit
30aaa85c6f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
export BIN_NAME="api-id-assigner"
|
export BIN_NAME="api-id-assigner"
|
||||||
export VER=$(awk -F "=" '/version/ {print $2}' Cargo.toml | grep -o -e '[0-9]*\.[0-9]*\.[0-9]*')
|
export VER=$(awk -F "=" '/version/ {print $2}' api/axum/Cargo.toml | grep -o -e '[0-9]*\.[0-9]*\.[0-9]*')
|
||||||
cargo build --release
|
cargo build --release
|
||||||
mkdir release
|
mkdir release
|
||||||
cp target/release/$BIN_NAME release/$BIN_NAME-$VER
|
cp target/release/$BIN_NAME release/$BIN_NAME-$VER
|
||||||
|
|
Loading…
Reference in a new issue