ci: Gitea actions (#8)

Reviewed-on: https://git.unlock-music.dev/um/lib_um_crypto_rust/pulls/8
Co-authored-by: 鲁树人 <lu.shuren@um-react.app>
Co-committed-by: 鲁树人 <lu.shuren@um-react.app>
This commit is contained in:
鲁树人
2025-02-23 17:53:19 +00:00
committed by 鲁树人
parent 4c1bcf8fd5
commit acf3a814bd
4 changed files with 46 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [[ -z "${DRONE_TAG}" ]]; then
if [[ ! "$GITHUB_REF" =~ ^refs/tags/ ]]; then
echo "skip package publish, pack only."
pnpm pack
exit 0