mirror of
https://github.com/kenzok8/AutoSync.git
synced 2025-01-09 04:07:31 +08:00
update
This commit is contained in:
parent
ac29d49fb6
commit
d7ef501cbb
4
.github/diy/test.sh
vendored
4
.github/diy/test.sh
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# 假设您的插件版本号可以通过执行命令来获取,例如 sing-box version
|
# 示例:使用环境变量来引用 matrix.packages 变量
|
||||||
PLUGIN_VERSION=$(${{ matrix.packages }} version | grep "$PKG_VERSION")
|
PLUGIN_VERSION=$("$matrix_packages" version | grep "$PKG_VERSION")
|
||||||
|
|
||||||
# 将版本号输出到标准输出
|
# 将版本号输出到标准输出
|
||||||
echo "$PLUGIN_VERSION"
|
echo "$PLUGIN_VERSION"
|
||||||
|
Loading…
Reference in New Issue
Block a user