mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-01 18:19:56 +00:00
21 lines
278 B
Bash
21 lines
278 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
name=$1
|
|
action=$2
|
|
build_mode=$3
|
|
|
|
cargo "${action}" "--${build_mode}" "--target=${TARGET}"
|
|
|
|
case "$action" in
|
|
build)
|
|
echo "path=target/${TARGET}/release/${name}" >> "${GITHUB_OUTPUT}"
|
|
;;
|
|
check)
|
|
;;
|
|
test)
|
|
;;
|
|
clippy)
|
|
;;
|
|
esac
|