Change Github action to build a complete package
Some checks failed
Build Ghidra Plugin / build (push) Has been cancelled
Some checks failed
Build Ghidra Plugin / build (push) Has been cancelled
The action will now build the Ghidra plugin and upload it as an artifact, upload the MCP bridge script, and additionally, a zip containing both.
This commit is contained in:
parent
32583c25b6
commit
5b62a9823b
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@ -53,12 +53,25 @@ jobs:
|
|||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package
|
run: mvn -B package
|
||||||
|
|
||||||
- name: Upload nightly artifact
|
- name: Create Complete Package
|
||||||
|
run: |
|
||||||
|
mkdir -p package
|
||||||
|
cp target/GhydraMCP-*.zip package/
|
||||||
|
cp bridge_mcp_hydra.py package/
|
||||||
|
cd package
|
||||||
|
zip -r GhydraMCP-Complete-${{ steps.set_version.outputs.BUILD_VERSION }}.zip *
|
||||||
|
mv GhydraMCP-Complete-${{ steps.set_version.outputs.BUILD_VERSION }}.zip ..
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: Upload nightly artifacts
|
||||||
if: github.ref_type != 'tag'
|
if: github.ref_type != 'tag'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: GhydraMCP-${{ steps.set_version.outputs.BUILD_VERSION }}
|
name: GhydraMCP-${{ steps.set_version.outputs.BUILD_VERSION }}
|
||||||
path: target/GhydraMCP-*.zip
|
path: |
|
||||||
|
target/GhydraMCP-*.zip
|
||||||
|
bridge_mcp_hydra.py
|
||||||
|
GhydraMCP-Complete-${{ steps.set_version.outputs.BUILD_VERSION }}.zip
|
||||||
|
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
@ -99,5 +112,7 @@ jobs:
|
|||||||
body_path: ${{ steps.generate_notes.outputs.RELEASE_NOTES_FILE }}
|
body_path: ${{ steps.generate_notes.outputs.RELEASE_NOTES_FILE }}
|
||||||
files: |
|
files: |
|
||||||
target/GhydraMCP-*.zip
|
target/GhydraMCP-*.zip
|
||||||
|
bridge_mcp_hydra.py
|
||||||
|
GhydraMCP-Complete-${{ steps.set_version.outputs.BUILD_VERSION }}.zip
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
Loading…
x
Reference in New Issue
Block a user