File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build-and-release :
1010 runs-on : ubuntu-latest
11+ env :
12+ CERTIFICATE_CHAIN : ${{ secrets.CERTIFICATE_CHAIN }}
13+ PRIVATE_KEY : ${{ secrets.PRIVATE_KEY }}
14+ PRIVATE_KEY_PASSWORD : ${{ secrets.PRIVATE_KEY_PASSWORD }}
15+ idea_push_token : ${{ secrets.IDEA_PUSH_TOKEN }}
1116 steps :
1217 # ------------------- 新增步骤 -------------------
1318 - name : 从 Tag 中提取分支名
4954 env :
5055 GRADLE_OPTS : -Dorg.gradle.jvmargs="-Xmx1548m -XX:MaxMetaspaceSize=512m"
5156
57+ - name : 发布主插件到 JetBrains Marketplace
58+ run : |
59+ ./gradlew publishPlugin --no-daemon --stacktrace
60+ env :
61+ GRADLE_OPTS : -Dorg.gradle.jvmargs="-Xmx1548m -XX:MaxMetaspaceSize=512m"
62+
5263 # 这一步是导致错误的元凶之三,已移除 working-directory
5364 - name : 获取构建的插件包(文件名和路径)
5465 id : find_plugin
@@ -133,4 +144,4 @@ jobs:
133144 echo "📁 FlutterX Plugin file: ${{ steps.find_plugin.outputs.plugin_name }}"
134145 echo "📁 FlutterX-MCP Plugin file: ${{ steps.find_mcp_plugin.outputs.mcp_plugin_name }}"
135146 echo "🏷️ Version: ${{ steps.get_version.outputs.version }}"
136- echo "📦 Release created: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.tag_name }}"
147+ echo "📦 Release created: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get_version.outputs.tag_name }}"
You can’t perform that action at this time.
0 commit comments