Skip to content

Commit de48b1b

Browse files
committed
ci(workflow): 更新插件发布工作流的用户和组织变量
将GitHub用户名从'tdcktz'改为'JAVA-LW',并添加单独的组织名称变量'tdcktz' 修改插件目录路径以使用新的组织名称变量
1 parent 20209b6 commit de48b1b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/plugin-publish.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,15 @@ jobs:
4848
echo "Plugin author: $AUTHOR"
4949
echo "author=$AUTHOR" >> $GITHUB_OUTPUT
5050
51-
# GitHub organization for repository operations
52-
GITHUB_USER="tdcktz"
51+
# GitHub username for repository operations
52+
GITHUB_USER="JAVA-LW"
5353
echo "GitHub user: $GITHUB_USER"
5454
echo "github_user=$GITHUB_USER" >> $GITHUB_OUTPUT
55+
56+
# Organization name for plugin directory
57+
ORG_NAME="tdcktz"
58+
echo "Organization name: $ORG_NAME"
59+
echo "org_name=$ORG_NAME" >> $GITHUB_OUTPUT
5560
5661
- name: Package Plugin
5762
id: package
@@ -94,8 +99,8 @@ jobs:
9499
ls -la
95100
96101
# Move the packaged file to the target directory using variables
97-
mkdir -p dify-plugins/${{ steps.get_basic_info.outputs.github_user }}/${{ steps.get_basic_info.outputs.plugin_name }}
98-
mv "$PACKAGE_NAME" dify-plugins/${{ steps.get_basic_info.outputs.github_user }}/${{ steps.get_basic_info.outputs.plugin_name }}/
102+
mkdir -p dify-plugins/${{ steps.get_basic_info.outputs.org_name }}/${{ steps.get_basic_info.outputs.plugin_name }}
103+
mv "$PACKAGE_NAME" dify-plugins/${{ steps.get_basic_info.outputs.org_name }}/${{ steps.get_basic_info.outputs.plugin_name }}/
99104
100105
# Enter the target repository directory
101106
cd dify-plugins

0 commit comments

Comments
 (0)