File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ name: Build Plugin
33on :
44 push :
55 tags : ["plugin-*-v*"]
6+ workflow_dispatch :
7+ inputs :
8+ tag :
9+ description : " Plugin tag to build (e.g., plugin-oracle-v1.0.1)"
10+ required : true
11+ type : string
612
713permissions :
814 contents : write
2026 - name : Extract plugin info from tag
2127 id : plugin-info
2228 run : |
23- TAG="${GITHUB_REF#refs/tags/ }"
29+ TAG="${{ inputs.tag || github.ref_name } }"
2430 # Tag format: plugin-<name>-v<version>
2531 # e.g., plugin-oracle-v1.0.0 -> OracleDriverPlugin
2632 PLUGIN_NAME=$(echo "$TAG" | sed -E 's/^plugin-([a-z]+)-v.*$/\1/')
@@ -145,7 +151,7 @@ jobs:
145151 env :
146152 REGISTRY_DEPLOY_KEY : ${{ secrets.REGISTRY_DEPLOY_KEY }}
147153 run : |
148- TAG="${GITHUB_REF#refs/tags/ }"
154+ TAG="${{ inputs.tag || github.ref_name } }"
149155
150156 ARM64_URL="https://github.com/${{ github.repository }}/releases/download/${TAG}/${{ steps.plugin-info.outputs.bundle_name }}-arm64.zip"
151157 X86_64_URL="https://github.com/${{ github.repository }}/releases/download/${TAG}/${{ steps.plugin-info.outputs.bundle_name }}-x86_64.zip"
You can’t perform that action at this time.
0 commit comments