File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,26 +10,16 @@ jobs:
1010 runs-on : ubuntu-latest
1111 env :
1212 REPO_NAME : ${{ github.event.repository.name }}
13-
13+
1414 steps :
1515 - uses : actions/checkout@main
1616 - uses : davidkhala/uv-buildpack@main
17- - name : Download dify-plugin-daemon
18- run : |
19- LATEST_RELEASE=$(curl -s https://api.github.com/repos/langgenius/dify-plugin-daemon/releases/latest)
20- DOWNLOAD_URL=$(echo $LATEST_RELEASE | jq -r '.assets[] | select(.name | contains("dify-plugin-linux-amd64")) | .browser_download_url' | head -1)
21- curl -L -o ../dify $DOWNLOAD_URL
22- chmod +x ../dify
23- ../dify --version
17+
2418 - name : Generate requirements.txt (consumed by dify)
2519 run : uv pip compile pyproject.toml -o requirements.txt
26-
27- - name : Build Dify plugin package
28- run : |
29- cd ..
30- ./dify plugin package "$REPO_NAME"
31- mv "$REPO_NAME.difypkg" "${GITHUB_WORKSPACE}/$REPO_NAME.difypkg"
32-
20+ - uses : davidkhala/build-dify-plugin@main
21+ with :
22+ pyproject-directory : .
3323 - name : Get tag name
3424 id : tag
3525 run : |
You can’t perform that action at this time.
0 commit comments