2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-02 02:30:03 +00:00
pict-rs/.forgejo/actions/build-amd64/entrypoint.sh
2024-02-07 13:53:28 -06:00

21 lines
278 B
Bash
Executable file

#!/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