Skip to content

Merge pull request #82 from chaoticgd/ghidra11.2.1 #29

Merge pull request #82 from chaoticgd/ghidra11.2.1

Merge pull request #82 from chaoticgd/ghidra11.2.1 #29

Workflow file for this run

name: Publish releases
on:
push:
tags:
- 'v*'
jobs:
build_and_publish:
runs-on: ubuntu-latest
strategy:
matrix:
ghidra: ["11.2.1", "11.2", "11.1.2"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: "8.10"
- name: Setup Ghidra
uses: antoniovazquezblanco/setup-ghidra@cacffdd46c5f53356e6a7822a2743a39f57d1958
with:
auth_token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ matrix.ghidra }}
- name: Download stdump
run: bash ./os/download.sh
- name: Test
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} test
- name: Build Extension
run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} buildExtension
- name: Release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*ghidra-emotionengine-reloaded.zip
tag: ${{ github.ref }}
overwrite: true
file_glob: true